0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Small clarification on max_request_line_length

This commit is contained in:
Loïc Hoguin 2014-11-25 19:53:34 +02:00
parent c96abf819e
commit 0b1ab1eca8

View file

@ -57,9 +57,9 @@ features understood or safely ignored by HTTP/1.0 clients. (RFC7230 A)
:: Request line
It is recommended to limit the request-line length to a minimum
of 8000 octets. However, as the possible line length is highly
dependent on what form the request-target takes, it is preferrable
It is recommended to limit the request-line length to a configurable
limit of at least 8000 octets. However, as the possible line length is
highly dependent on what form the request-target takes, it is preferrable
to limit each individual components of the request-target. (RFC7230 3.1.1)
A request line too long must be rejected with a 414 status code