I am working with a classic asp website on an IIS web server.
When I look at the request.serverVariables
collection (which contains request http headers and server variables, etc.), I am seeing the following two, which in my specific set-up are producing 100% identical values.
CONTENT_LENGTH
HTTP_CONTENT_LENGTH
In the mozilla docs, it lists [Content-Length][1]
as:
The Content-Length entity header is indicating the size of the entity-body, in bytes, sent to the recipient.
I think it's refering to what I am seeing as HTTP_CONTENT_LENGTH
Then, in the IIS docs for Server Variables, it lists CONTENT_LENGTH
as
The length of the request body.
Is this just an IIS thing where the CONTENT_LENGTH
is just the server's own internal copy of the HTTP_CONTENT_LENGTH
header sent back? (or do I have that backwards)?
Is there any difference between the two e.g. some other cases where the values of each could be different if a certain scenario occurs?