Any ideas what might be causing this, or how I go about debugging it?
Here's the stacktrace for the exception:
org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpException: Unable to parse header: HTTP/1.0 200 OK
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1965)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2659)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1093)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
I'm using HttpClient 2.0-final.
Using a command like the following command:
curl -u user:pass -I -i "http://mysite:6998/page.exe?id=22222"
I got the following output:
HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Thu, 05 Aug 2004 10:20:32 GMT Connection: close HTTP/1.0 200 OK content-type: text/html content-length: 35079 Connection: Keep-Alive
I don't particularly know the workings of the curl command, but it seems that the server is returning two HTTP/1.X headers.
Any ideas what I can do about this?
Regards, Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]