commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryce Fischer <br...@berzerker-soft.com>
Subject Re: [HTTPClient] Getting Protocol Exception
Date Fri, 09 Dec 2005 22:43:41 GMT
On 12/9/05, Oleg Kalnichevski <olegk@apache.org> wrote:
> On Fri, 2005-12-09 at 11:41 -0500, Bryce Fischer wrote:
>
> > Here is the wire trace:
> >
> > DEBUG [httpclient.wire.header] >> "POST / HTTP/1.1[\r][\n]"
> > DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta
> > Commons-HttpClient/3.0-rc4[\r][\n]"
> > DEBUG [httpclient.wire.header] >> "Host: xxx.xxx.xxx.xxx:81[\r][\n]"
> > DEBUG [httpclient.wire.header] >> "Content-Length: 4462[\r][\n]"
> > DEBUG [httpclient.wire.header] >> "Content-Type:
> > application/x-www-form-urlencoded[\r][\n]"
> > DEBUG [httpclient.wire.header] >> "[\r][\n]"
> > DEBUG [httpclient.wire.content] >> "xml=<content removed>"
> > DEBUG [httpclient.wire.header] << "<xml data removed>"
> > DEBUG [httpclient.wire.header] << "  <more data removed>[\r][\n]"
> > DEBUG [httpclient.wire.header] << "  <more data removed[\r][\n]"
> > DEBUG [httpclient.wire.header] << "<more data removed[\r][\n]"
> > DEBUG [httpclient.wire.header] << "<data removed>[\r][\n]"
> > DEBUG [httpclient.wire.header] << "null[\r][\n]"
> >
> Bryce,
>
> What server is sending back is not a valid HTTP response. HttpClient is
> absolutely correct in throwing a protocol exception
>
> Oleg

Yea, you are correct. Its a server that a coworker wrote, and
unfortunately, I'm having difficulty getting him to fix it (he claims
its worked for 5 years now, why it needs to change now). I was just
hoping there was a way around it, but going through the code, doesn't
look like there is.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message