IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

part_content_type Property

Content type for each part.

Syntax

def get_part_content_type(part_idx: int) -> str: ...
def set_part_content_type(part_idx: int, value: str) -> None: ...

Default Value

""

Remarks

Content type for each part. The value of this property is used in the Content-Type header. Typical values include "image/gif", "text/plain" etc. The class fills it out each time the part_decoded_file is changed. Changing This property recalculates the part_headers as well.

The part_idx parameter specifies the index of the item in the array. The size of the array is controlled by the part_count property.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Python Edition - Version 20.0 [Build 7941]