Thanks, I thought that GitHub was just a mirror for an Apache repo somewhere!
I have opened a PR here -
https://github.com/apache/httpcomponents-client/pull/151
On Sun, 2 Jun 2019 at 15:43, Oleg Kalnichevski wrote:
>
> On June 2, 2019 4:30:44 PM GMT+02:00, Adam Retter wrote:
> >Oleg,
> >
>
On June 2, 2019 4:30:44 PM GMT+02:00, Adam Retter wrote:
>Oleg,
>
>Attached is a first draft for a patch against 5.0 to make the
>Multipart stuff more applicable for those people who don't want
>multipart/form-data. What would be the next stage to progress this?
>
Could you please submit this
Oleg,
Attached is a first draft for a patch against 5.0 to make the
Multipart stuff more applicable for those people who don't want
multipart/form-data. What would be the next stage to progress this?
On Sun, 2 Jun 2019 at 11:23, Oleg Kalnichevski wrote:
>
> On Sun, 2019-06-02 at 09:47 +0100,
On Sun, 2019-06-02 at 09:47 +0100, Adam Retter wrote:
> > > On my system that produces a HTTP Request like:
> > >
> > > POST / HTTP/1.1
> > > Content-Length: 456
> > > Content-Type: multipart/form-data;
> > > boundary=ZQwFLuoO6V1SFdqg2lI6DaVwlvKIZjj2Pb
> >
> > I can change this content-type by
On Sat, 2019-06-01 at 23:27 +0100, Adam Retter wrote:
> Hi Norm,
>
> I think this might be what you are looking for:
>
> package norm1;
>
> import org.apache.http.HttpEntity;
> import org.apache.http.client.methods.HttpPost;
> import org.apache.http.entity.ContentType;
> import
> > On my system that produces a HTTP Request like:
> >
> > POST / HTTP/1.1
> > Content-Length: 456
> > Content-Type: multipart/form-data;
> > boundary=ZQwFLuoO6V1SFdqg2lI6DaVwlvKIZjj2Pb
>
> I can change this content-type by calling .setContentType() on the entity
> builder,
Ah yes! I forgot to