lawrencemd23
2006-08-31 21:56:01 UTC
I have a wininet application that works fine on most PCs. When I try to get
the length of an internet file I send a "Head" command with some post data
and winInet adds in the content-length header for me. This appears to not
work on
a customers PC and from the debug logs the web server returns status 411 to
my head request "content-length not given". I using a head to get the size
of the results from a CGI script.
Is there a reason why sometimes this header would not be included. The
Customer
says he has WinXP with all the latest service packs.
the length of an internet file I send a "Head" command with some post data
and winInet adds in the content-length header for me. This appears to not
work on
a customers PC and from the debug logs the web server returns status 411 to
my head request "content-length not given". I using a head to get the size
of the results from a CGI script.
Is there a reason why sometimes this header would not be included. The
Customer
says he has WinXP with all the latest service packs.