>GET /eljconfig.xml HTTP/1.1
>User-Agent: test
// Note the server interrupts at this point without waiting for the rest of the request
<Content-HTTP/1.1 500 Server Error
<Server: Microsoft-IIS/5.0
<Date: Tue, 22 Jul 2003 05:50:21 GMT
<Content-Type: text/html
<Content-Length: 102
But likes:
>GET /eljconfig.xml HTTP/1.1 >Host: 216.144.36.166 >User-Agent: test
<200 OK ...
It appears that unless the Host header is the first header provided, the server returns a 500 response. No idea why or how they get IIS to do that, but I'll be creating a patch to add the Host header first for our use so if people would like it for HttpClient I can send it through.
And in case I haven't mentioned it before - I hate non-compliant servers....
Regards,
Adrian Sutton.
---------------------------------------------- Intencha "tomorrow's technology today" Ph: 38478913 0422236329 Suite 8/29 Oatland Crescent Holland Park West 4121 Australia QLD www.intencha.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
