IPWorks ZIP 2020 Python Edition

Questions / Feedback?

resolve_content_type Method

Returns the content type of the specified part.

Syntax

def resolve_content_type() -> str: ...

Remarks

Applies the content type resolution rules specified in the Open XML packaging specification and returns the content type associated with part_name in the archive.

If there's no content type mapped for the part or for the extension, an empty string is returned.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Python Edition - Version 20.0 [Build 8300]