Create a custom status code with default behavior for its value region.
Create a custom status code and allow full customization of behavior.
Create a custom status code and allow full customization of behavior. The value of allowsEntity
changes the parser behavior: If it is set to true, a response with this status code is required to include a
Content-Length
header to be parsed correctly when keep-alive is enabled (which is the default in HTTP/1.1).
If allowsEntity
is false, an entity is never expected.
(Since version 10.1.11) deprecated in favor of HttpVersionNotSupported
(Since version 10.1.11) deprecated in favor of PayloadTooLarge
(Since version 10.1.11) deprecated in favor of UriTooLong
(Since version 10.1.11) deprecated in favor of RangeNotSatisfiable
(Since version 10.1.6) Non-standard Unordered Collection should not be used, deprecated in favor of TooEarly