Multi-part parsing for file uploads.
Exposes one class, MultiPartParser, which feeds chunks of uploaded data to file upload handlers for processing.
Constant | FIELD |
Undocumented |
Constant | FILE |
Undocumented |
Constant | RAW |
Undocumented |
Class | BoundaryIter |
A Producer that is sensitive to boundaries. |
Class | ChunkIter |
An iterable that will yield chunks of data. Given a file-like object as the constructor, yield chunks of read operations from that object. |
Class | InputStreamExhausted |
No more reads are allowed from this device. |
Class | InterBoundaryIter |
A Producer that will iterate over boundaries. |
Class | LazyStream |
The LazyStream wrapper allows one to get and "unget" bytes from a stream. |
Class | MultiPartParser |
A rfc2388 multipart/form-data parser. |
Class | MultiPartParserError |
Undocumented |
Class | Parser |
Undocumented |
Function | _parse_header_params |
Undocumented |
Function | exhaust |
Exhaust an iterator or stream. |
Function | parse_boundary_stream |
Parse one and exactly one stream that encapsulates a boundary. |
Function | parse_header |
Parse the header into a key-value. |