I tried it but there is a problem to integrate the method getLength()
because I don't know the length of the InputStream. What are the problems if
this method returns 0 (I'm sure there will be some!)?
Thomas
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesen
I want to create a multipart post with an InputStream instead of a File.
Is that possible?
Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Oleg and Odi! The problem is fixed!
Gtx,
Thomas
By the way: What IDE are you using to develop HttpClient?
-Ursprüngliche Nachricht-
Von: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Februar 2003 22:26
An: Commons HttpClient Project
Cc: [EMAIL PROTECTED]
Betreff:
TXT", "Testtext: öäüÖÄÜß")
};
post.setRequestBody(parameters);
Just a suggestion.
Jandalf.
Mathis Thomas (VTG) wrote:
>Got the latest nightly source. I think it's not fixed yet.
>Am I wrong in expecting the following line?
>requestBody=TXT=Testtext%
Is it right that ö shuld be %F6 and not %C3%B6 when using encoding
ISO-8859-1?
Because after executing the method I got the following String from the
method getRequestBodyAsString():
requestBody=TXT=Testtext%3A%20%C3%B6%C3%A4%C3%BC%C3%96%C3%84%C3%9C%C3%9F
Here the ö is %C3%B6 instead of %F6
C%C3%96%C3%84%C3%9C%C3%9F
SHOULD BE:
requestBody=TXT=Testtext%3A%20%F6%E4%FC%D6%C4%DC%DF
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Februar 2003 15:29
An: Commons HttpClient Project
Cc: Mathis Thomas (VTG)
Betreff: Re: POST method - Defau
ng related problems. Unfortunately, all our
committers are currently either missing in action or too busy. So, please,
stay tuned. The fix is expected soon
Oleg
-Original Message-----
From: Mathis Thomas (VTG) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:11 AM
To: 'Com
chricht-
Von: Sung-Gu [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 25. Januar 2003 04:36
An: Commons HttpClient Project
Betreff: Re: Bug: HttpMethodBase - setPath
- Original Message -
From: "Jeffrey Dever" <[EMAIL PROTECTED]>
> Mathis Thomas (VTG) wrote:
>
>