R.Wieser
2019-09-05 07:42:01 UTC
Hello all,
I'm trying to read raw HTTP data, and just ran into a situation where the
"Content-Length" entry exeeded the actual content length by a /large/ margin
(~350 KB vs ~50KB). A bit of googeling tells me that that should never
happen, and should be regarded as an error.
One "minor" detail though: The header also contains a "Connection: close"
entry, but some more googeling doesn't tell me which one /should/ take
priority, if at all(!).
The involved URL is https://www.questionablecontent.net/QCRSS.xml (its a
webstrip).
Does anybody know how cases like these should be handled ?
Regards,
Rudy Wieser
P.s.
I tried to find a more related newsgroup for the above question, but could
not find one. If one exists than please advice.
I'm trying to read raw HTTP data, and just ran into a situation where the
"Content-Length" entry exeeded the actual content length by a /large/ margin
(~350 KB vs ~50KB). A bit of googeling tells me that that should never
happen, and should be regarded as an error.
One "minor" detail though: The header also contains a "Connection: close"
entry, but some more googeling doesn't tell me which one /should/ take
priority, if at all(!).
The involved URL is https://www.questionablecontent.net/QCRSS.xml (its a
webstrip).
Does anybody know how cases like these should be handled ?
Regards,
Rudy Wieser
P.s.
I tried to find a more related newsgroup for the above question, but could
not find one. If one exists than please advice.