hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: A minor struggle with multipart/mixed
Date Fri, 29 Jan 2016 08:47:37 GMT
On Thu, 2016-01-28 at 23:06 -0800, Gary Gregory wrote:
> Hi Benson,
> 
> I think that if we add anything to the 4.x line, it will be for the
> upcoming 4.5.2, so you'll want to migrate to 4.5.1 and propose a patch
> there.
> 
> AFAIK there are no plans for another 4.4.x release.
> 
> Gary
> 

I also think there have been some changes in HttpMime in 4.5, so 4.5.x
should be the right place to start.

Oleg

> On Thu, Jan 28, 2016 at 6:08 PM, Benson Margulies <bimargulies@gmail.com>
> wrote:
> 
> > This is with version 4.4.1, so perhaps it's old news.
> >
> > I'm trying to use the Mime library to set up a multipart/mixed entity.
> >
> > I need Content-Disposition inline, not form-data. To get it, I have to
> > explicitly build the FormBodyParts, as the convenient methods on the
> > multipart entity builder all end up with form-data.
> >
> > Would anyone be interested in a patch to add more methods to
> > MultipartEntityBuilder to make this easier?
> >
> > I also ran into the fact that ContentType.APPLICATION_JSON adds
> > ;charset=utf-8, which I'm assured is wrong for json, which is only
> > ever supposed to be utf-8 on the wire.
> >
> > Could we add a new constant for, somehow, 'plain' APPLICATION_JSON?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >
> >
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message