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:
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
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
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
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
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
", "application/octet-stream");
>
> method.setRequestBodyAsStream(new FileInputStream(file));
>
> int status = client.execute(method);
>
>
>
> Thanks agiain,
>
> Nick
>
>
> >From: Roland Weber <[EMAIL PROTECTED]>
> >R
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
Hello Nick,
by implementing ...methods.multipart.PartSource, you can supply your
own InputStream. Using HttpMethod.getResponseBodyAsStream(),
you have direct access to the input stream of the response. What more
control do you need?
The problem you report suggests that your version of the post me