[#bitcoin_http] = bitcoin_http :mrdocs: Constants and error types for the built‐in HTTP server's request parsing. == Types [cols="1,4"] |=== | Name| Description | xref:bitcoin_http/ContentTooLargeError.adoc[`ContentTooLargeError`] | 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) |=== == Variables [cols="1,4"] |=== | Name| Description | xref:bitcoin_http/MAX_BODY_SIZE.adoc[`MAX_BODY_SIZE`] | Maximum size of an HTTP request body | xref:bitcoin_http/MAX_HEADERS_SIZE.adoc[`MAX_HEADERS_SIZE`] | Maximum size of each headers line in an HTTP request, also the maximum size of all headers total. See https://github.com/bitcoin/bitcoin/pull/6859 And libevent http.c evhttp_parse_headers_() | xref:bitcoin_http/MIN_REQUEST_LINE_LENGTH.adoc[`MIN_REQUEST_LINE_LENGTH`] | Shortest valid request line, used by libevent in evhttp_parse_request_line() |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#