Parser for handling multipart/form-data file uploads. Part of the PicoFramework HTTP server. This module provides the MultipartParser class, which is responsible for processing multipart/form-data uploads over HTTP. It handles detecting boundaries, parsing headers, extracting filenames, and writing file data to storage (e.g., an SD card). It also sends appropriate HTTP responses based on the success or failure of the upload process.
More...
#include <string>
#include <unordered_map>
#include "http/HttpRequest.h"
#include "network/Tcp.h"
Go to the source code of this file.
- Author
- Ian Archbell
- Version
- 0.1
- Date
- 2025-03-26
- License:\n MIT License
Definition in file MultipartParser.h.
◆ State
| Enumerator |
|---|
| SEARCHING_FOR_BOUNDARY | |
| FOUND_BOUNDARY | |
| FOUND_DATA_START | |
| COMPLETE | |
Definition at line 26 of file MultipartParser.h.