Re: HTTP Version Not Supported Error

2004-10-19 Thread Michael Becke
could give me. Thanks for your time, N. Jarvis From: Michael Becke <[EMAIL PROTECTED]> Reply-To: "Commons HttpClient Project" <[EMAIL PROTECTED]> To: Commons HttpClient Project <[EMAIL PROTECTED]> Subject: Re: HTTP Version Not Supported Error Date: Mon, 18 Oct 2004 11:

Re: HTTP Version Not Supported Error

2004-10-19 Thread Nick Jarvis
MAIL PROTECTED]> To: Commons HttpClient Project <[EMAIL PROTECTED]> Subject: Re: HTTP Version Not Supported Error Date: Mon, 18 Oct 2004 11:10:48 -0400 Hi Nick, I have one addition to Roland's comments. b) Don't call setContentLength, or set it to -1 in a FilePart object. T

Re: HTTP Version Not Supported Error

2004-10-18 Thread Michael Becke
Hi Nick, I have one addition to Roland's comments. b) Don't call setContentLength, or set it to -1 in a FilePart object. This should work fine with HTTP/1.1 and chunked encoding, but also with HTTP/1.0 and no chunked encoding. Since the server does not know the content length in advance, it has to

Re: HTTP Version Not Supported Error

2004-10-18 Thread Roland Weber
Nick Jarvis" <[EMAIL PROTECTED]> 18.10.2004 16:06 Please respond to "Commons HttpClient Project" To [EMAIL PROTECTED] cc Subject Re: HTTP Version Not Supported Error Roland, Thanks, I am writing my own server doGet and doPost methods using HttpServlet, but for some reason the se

Re: HTTP Version Not Supported Error

2004-10-18 Thread Nick Jarvis
Weber <[EMAIL PROTECTED]> Reply-To: "Commons HttpClient Project" <[EMAIL PROTECTED]> To: "Commons HttpClient Project" <[EMAIL PROTECTED]> Subject: Re: HTTP Version Not Supported Error Date: Mon, 18 Oct 2004 08:48:37 +0200 Hello Nick, this description sounds

Re: HTTP Version Not Supported Error

2004-10-17 Thread Roland Weber
erver fails. cheers, Roland "Nick Jarvis" <[EMAIL PROTECTED]> 15.10.2004 19:41 Please respond to "Commons HttpClient Project" To [EMAIL PROTECTED] cc Subject Re: HTTP Version Not Supported Error Hi Roland, I don't understand why I am not able to synchr

Re: HTTP Version Not Supported Error

2004-10-15 Thread Oleg Kalnichevski
", "application/octet-stream"); > > method.setRequestBodyAsStream(new FileInputStream(file)); > > int status = client.execute(method); > > > > Thanks agiain, > > Nick > > > >From: Roland Weber <[EMAIL PROTECTED]> > >R

Re: HTTP Version Not Supported Error

2004-10-15 Thread Nick Jarvis
ot;application/octet-stream"); method.setRequestBodyAsStream(new FileInputStream(file)); int status = client.execute(method); Thanks agiain, Nick From: Roland Weber <[EMAIL PROTECTED]> Reply-To: "Commons HttpClient Project" <[EMAIL PROTECTED]> To: "Commons HttpCli

Re: HTTP Version Not Supported Error

2004-10-15 Thread Roland Weber
method somehow fails to synchronize the connection usage. But that is hard to diagnose if you don't send the modified source. cheers, Roland "Nick Jarvis" <[EMAIL PROTECTED]> 14.10.2004 20:13 Please respond to "Commons HttpClient Project" To [EMAIL PROTECTE

HTTP Version Not Supported Error

2004-10-14 Thread Nick Jarvis
I am currently using HttpClient 2.0.2 and trying to create a multi threaded file upload. I have restrictions on the project I can use , therefore I am using HttpClient MultiThreadedHttpConnectionManager that is connecting to the same host and I am using HttpClient PostMethod for the upload. I