MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ContentTooLargeError

Class ContentTooLargeError

src/httpserver.h:84–86  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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)
84struct ContentTooLargeError : std::runtime_error {
85 using std::runtime_error::runtime_error;
86};
87
88class HTTPHeaders
89{

Callers 1

LoadBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected