The HTTP 1.1 spec allows for header values to be split across several lines:
HTTP/1.1 header field values can be folded onto multiple lines if the
continuation line begins with a space or horizontal tab. All linear
white space, including folding, has the same semantics as SP. A
recipient MAY replace any linear white space with a single SP before
interpreting the field value or forwarding the message downstream.
For example:
should be parsed equivalently to:
This has since been deprecated except for use within the message/http media type, but this occasionally pops up in the wild, and other HTTP header parsers support it according to this StackOverflow answer.