Module multipart

Source

Modules§

reader

Structs§

FormPart
FormPartLimit
Limits

Enums§

FormPartResult
MultipartFormDataError

Traits§

StreamReader
The reusable trait for fetching multipart bytes

Functions§

body_buffer_starts_with_boundary
extract_boundary
Extracts boundary from Content-Type header.
extract_form_file_body
It writes the file to temporary file. Example to copy file
extract_form_part_body
extract_form_part_header
Parses the form part header and removes the header from body buffer including \r\n\r\n bytes.
extract_form_value
parse
It expects that the header has been completely read including \r\n\r\n characters.
parse_body_parts
parse_content_disposition_value
Expects value of Content-Disposition value.
parse_content_type
parse_form_part_header
Expects only the header
parse_header_line