HTTP headers can be multi-line.
For instance:
Word-of-the-day: Fox jumps through
brown dog
However, after reading the standard, I came to the conclusion that leading and trailing spaces MAY be removed , so we get "The Fox Jumps Oververthe brown dog". Coagulation becomes one word when it really should be βaboveβ (two words separated by spaces).
How to handle the parsing of HTTP values ββin such situations, for example, how can I combine HTTP multi-line headers to mean the same thing as single-line headers?
source share