I'm having problems retrieving the Content-Length header from HTTP requests used by an application i'm writing. It seems some servers wanna send filesizes, and some don't.
Is there any optional arguments or something I can use in a request to force the server to send a Content-Length header.
Requests are in HTTP 1.1, using Apache under Windows XP if that helps.
I've tried explaining as easily as I can, sorry if it sounds confusing ;)
Question
Jambooo
Hi
I'm having problems retrieving the Content-Length header from HTTP requests used by an application i'm writing. It seems some servers wanna send filesizes, and some don't.
Is there any optional arguments or something I can use in a request to force the server to send a Content-Length header.
Requests are in HTTP 1.1, using Apache under Windows XP if that helps.
I've tried explaining as easily as I can, sorry if it sounds confusing ;)
Link to comment
https://www.neowin.net/forum/topic/196801-obtaining-content-length-in-http-11-requests/Share on other sites
5 answers to this question
Recommended Posts