http icon indicating copy to clipboard operation
http copied to clipboard

Make header() method case-insensitive

Open ybr-nx opened this issue 6 years ago • 0 comments

Each header field consists of a case-insensitive field name followed by a colon (":"), optional leading whitespace, the field value, and optional trailing whitespace.

HTTP 1/1 - RFC7230

Just as in HTTP/1.x, header field names are strings of ASCII characters that are compared in a case-insensitive fashion.

HTTP2 - RFC7540

ybr-nx avatar Sep 25 '19 08:09 ybr-nx