IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

part_content_disposition Property

Content disposition for each part.

Syntax

def get_part_content_disposition(part_idx: int) -> str: ...
def set_part_content_disposition(part_idx: int, value: str) -> None: ...

Default Value

""

Remarks

Content disposition for each part.

The value in this property is used in the Content-Disposition header. Typical values include "form-data", "attachment" etc. The class fills it out each time the part_decoded_file is changed. Changing the part_content_disposition 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]