mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-21 11:05:39 +00:00
feat(http_server): add 413 Payload Too Large response
While not useful for the HTTP parser itself, this is very useful for memory-limited consumers of the HTTP server API. Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
This commit is contained in:
committed by
Harshit Malpani
parent
3b771d7af2
commit
e40b1402e4
@@ -608,6 +608,9 @@ typedef enum {
|
||||
*/
|
||||
HTTPD_411_LENGTH_REQUIRED,
|
||||
|
||||
/* Incoming payload is too large */
|
||||
HTTPD_413_CONTENT_TOO_LARGE,
|
||||
|
||||
/* URI length greater than CONFIG_HTTPD_MAX_URI_LEN */
|
||||
HTTPD_414_URI_TOO_LONG,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user