hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomislav Dedus" <mani...@gmx.de>
Subject Re: problem with reading response of a multipart post
Date Fri, 27 Aug 2004 08:29:10 GMT
Hi Ortwin,

thanks for the help!

The problem was the content-type an the transfer-encoding-header.
Overwriting of StringPart with not setting these headers solved the problem.


Thanks again and best regards

Tomi

> 
> Tomislav Dedus wrote:
> 
> > Hi,
> > 
> > first of all great project.
> > 
> > But I'm having little trouble with a multipart post.All other requests
> are
> > working fine.
> > After I execute the MultipartPostMethod with a few (120) StringParts
> nothing
> > happens.
> > The log shows that I get the response header "HTTP/1.1 100 continue" but
> > thats all.
> > Then after while (90000ms) a SocketTimeoutException  occures. 
> > 
> > Is there a problem in my code or is that a known problem?
> 
> 
> Toislav,
> 
> it seems that IIS expects you to use a 100 continue handshake. Try and 
> enable it in HttpClient.
> 
> -- 
>   _________________________________________________________________
>   NOSE applied intelligence ag
> 
>   ortwin glück                      [www]      http://www.nose.ch
>   software engineer
>   hardturmstrasse 171               [pgp id]           0x81CF3416
>   8005 zürich                       [office]      +41-1-277 57 35
>   switzerland                       [fax]         +41-1-277 57 12
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-httpclient-dev-help@jakarta.apache.org
> 

-- 
NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail


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


Mime
View raw message