hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: A minor struggle with multipart/mixed
Date Fri, 29 Jan 2016 07:06:26 GMT
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

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
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message