Thrown when a request body exceeds MAX_BODY_SIZE (or *will* exceed, in chunked transfer) so the server can reply with more specific code 413 (content too large) vs general 400 (bad request)
| 82 | //! Thrown when a request body exceeds MAX_BODY_SIZE (or *will* exceed, in chunked transfer) |
| 83 | //! so the server can reply with more specific code 413 (content too large) vs general 400 (bad request) |
| 84 | struct ContentTooLargeError : std::runtime_error { |
| 85 | using std::runtime_error::runtime_error; |
| 86 | }; |
| 87 | |
| 88 | class HTTPHeaders |
| 89 | { |