Module pact_models::content_types [−][src]
Module for handling content types
Structs
ContentType | Content type of a body |
HTML | HTML Content Type |
JSON | JSON Content Type |
TEXT | TEXT Content Type |
XML | XML Content Type |
Functions
detect_content_type_from_bytes | Try detect the content type from a sequence bytes |
detect_content_type_from_string | Try detect the content type from the contents of a string |