IIS Server Variable ALL_HTTP converts CrLf to Lf

Timothy Aitchison 1 Reputation point
2021-03-24T05:13:28.227+00:00

When using the IIS Server Variable ALL_HTTP, each header has a line ending of Lf (Linux-style) rather than the Windows standards CrLf.
This occurs even when the HTTP header of the incoming request has the headers delimited by CrLf, that is, the ALL_RAW server variable is delimited by CrLf.

It looks like the line endings are getting converted somewhere.

What should the line endings be for ALL_HTTP?

Internet Information Services
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.