You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Alexis Midon <mi...@intalio.com> on 2008/07/09 20:51:40 UTC
Content-Encoding management
Hi all,
I'd like to know how Httpclient 3.* deals with compressed content in a way
or another.
for instance may I expect compressed response bodies to be uncompressed
transparently and exposed in their Content-Type?
Thanks in adavance,
Alexis
Uploading a file using PostMethod sends a truncated request...
Posted by Guillaume Cauchon <Gu...@datadirect.com>.
I'm using the HttpClient 3.1 to upload my Axis2 archives from my client
application to the Axis2 webapp (using the default same URL as the one
used by the JSP pages) and it keeps failing in a way I can explain... If
I use the webapp's upload jsp page the POST request works correctly and
my archive gets transferred without issues! However using HttpClient in
my client application even if I get a HTTP/1.0 200, the file doesn't
gets transferred at all as it seams the POST request is truncated (from
looking at the post boundaries that are missing. The funny thiongs it's
is semas to be size related as it's is working for realy small files
from my client app...
I opened A JIRA as I wasn't able to send an email to the mailing list
and I though it wasn't available anymore...
https://issues.apache.org/jira/browse/HTTPCLIENT-785
________________________________
Guillaume Cauchon | DataDirect Technologies inc.
-email: guillaume.cauchon@datadirect.com
-mobile: 418.952-7357
-work: 418.649-1551
-----Original Message-----
From: Alexis Midon [mailto:midon@intalio.com]
Sent: Wednesday, July 09, 2008 2:52 PM
To: httpclient-users@hc.apache.org
Subject: Content-Encoding management
Hi all,
I'd like to know how Httpclient 3.* deals with compressed content in a
way
or another.
for instance may I expect compressed response bodies to be uncompressed
transparently and exposed in their Content-Type?
Thanks in adavance,
Alexis
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Content-Encoding management
Posted by Alexis Midon <mi...@intalio.com>.
Thank you Oleg
On Wed, Jul 9, 2008 at 3:15 PM, Oleg Kalnichevski <ol...@apache.org> wrote:
> On Wed, 2008-07-09 at 11:51 -0700, Alexis Midon wrote:
> > Hi all,
> >
> > I'd like to know how Httpclient 3.* deals with compressed content in a
> way
> > or another.
>
> No, it does not
>
> > for instance may I expect compressed response bodies to be uncompressed
> > transparently and exposed in their Content-Type?
> >
>
> No, you can't.
>
> Oleg
>
>
> > Thanks in adavance,
> >
> > Alexis
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
Re: Content-Encoding management
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2008-07-09 at 11:51 -0700, Alexis Midon wrote:
> Hi all,
>
> I'd like to know how Httpclient 3.* deals with compressed content in a way
> or another.
No, it does not
> for instance may I expect compressed response bodies to be uncompressed
> transparently and exposed in their Content-Type?
>
No, you can't.
Oleg
> Thanks in adavance,
>
> Alexis
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org