hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: multipart and basic authentication
Date Tue, 03 Aug 2010 14:55:00 GMT
On Tue, 2010-08-03 at 16:51 +0200, Oleg Kalnichevski wrote:
> On Tue, 2010-08-03 at 15:22 +0200, Work wrote:
> > Hi there.
> > 
> > I use the httpclient 4.0.1 to access a basic authentication protected 
> > website.
> > My program performs a MULTIPART request. But the webserver (Microsoft 
> > IIS) returns the error code 400 (Bad Request).
> > When submitting the same request as a POST (without the file), 
> > everything works perfectly.
> > 
> 
> Try the browser compatibility mode.
> 
> Oleg
> 

Oh, and turn off the 'expect-continue' handshaking. Older versions of
IIS do not support it properly.  

Oleg



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


Mime
View raw message