hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück <ortwin.glu...@nose.ch>
Subject Re: IIS and MultipartPostMethod
Date Wed, 20 Apr 2005 07:37:01 GMT
Dimitri De Franciscis wrote:
> When sending file uploads with MultipartPostMethod, I must send the "Accept"
> header, or I get error 500 from Microsoft-IIS/5.0:
> 
> filePost.addRequestHeader(new Header("Accept", "*/*"));
> 
> Anybody has encountered this before ?

Yes, I have seen a similar behaviour with GET requests on older IIS 
versions. Maybe put this in the Wiki?

Ortwin Glück

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


Mime
View raw message