hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Seebregts" <to...@cibecs.com>
Subject RE: Unbuffered entity enclosing request can not be repeated
Date Mon, 13 Jun 2005 14:47:13 GMT
Hi Roland,

Yeah, that's what I thought. I raised the issue with the Jetty developers
but it sounds like the behaviour is embedded fairly deeply in the
architecture. 

Guess I'll have to live with. Thanks for the suggestions though.

Regards

Tony

-----Original Message-----
From: Roland Weber [mailto:ROLWEBER@de.ibm.com] 
Sent: 10 June 2005 15:28
To: HttpClient User Discussion
Subject: RE: Unbuffered entity enclosing request can not be repeated

Hello Tony,

> DEBUG [httpclient.wire.header] << "HTTP/1.1 100 Continue[\r][\n]"
> DEBUG [com.cibecs.brs.core.net.http.RequestMethod] **** 
writeRequestBody()
> DEBUG [httpclient.wire.header] << "HTTP/1.1 401 Unauthorized[\r][\n]"
> DEBUG [httpclient.wire.header] << "Date: Fri, 10 Jun 2005 06:26:07
> GMT[\r][\n]"
> DEBUG [httpclient.wire.header] << "Server: Jetty/5.1.3rc3 (Windows 
XP/5.1
> x86 java/1.5.0_02[\r][\n]"
> DEBUG [httpclient.wire.header] << "WWW-Authenticate: basic
> realm="agent"[\r][\n]"
> DEBUG [httpclient.wire.header] << "Content-Type: text/html[\r][\n]"
>
> Hmmm ... the server is returning a '100 Continue' followed immediately 
by a
> '401 Unauthorized'. Is that correct ?

It certainly isn't what the server is supposed to do.
Sending a 100-continue reply even though authentication
is required beats the whole purpose of the handshake.

Maybe the Jetty guys know more about this?

cheers,
  Roland


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


Mime
View raw message