Expand description
HTTP Accept negotiation and Content-Type validation for the conversion API.
Functionsยง
- bucket_
input_ mime - Returns the bounded
input_mime_typelabel value for aContent-Typeheader. - bucket_
output_ mime - Returns the bounded
output_mime_typelabel value for a conversion outcome. - negotiate_
accept - Negotiates the
Acceptheader for the/conversionendpoint. - validate_
content_ type - Validates the
Content-Typeheader for the/conversionendpoint and resolves it to the matching reader format.