Expand description
Multipart form data parser.
fastapi-http re-exports the canonical multipart implementation from fastapi-core
so both the HTTP server and core extractors share identical behavior.
Structs§
- Multipart
Config - Configuration for multipart parsing.
- Multipart
Form - Parsed multipart form data.
- Multipart
Parser - Multipart parser (boundary-based).
- Part
- A parsed multipart form part.
- Upload
File - An uploaded file with metadata and FastAPI-style async file operations.
Enums§
- Multipart
Error - Errors that can occur during multipart parsing.
Constants§
- DEFAULT_
MAX_ FIELDS - Default maximum number of fields.
- DEFAULT_
MAX_ FILE_ SIZE - Default maximum file size (10MB).
- DEFAULT_
MAX_ TOTAL_ SIZE - Default maximum total upload size (50MB).
Functions§
- parse_
boundary - Parse boundary from Content-Type header.