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
utstream -> {
try {
MessageWriter writer = new DefaultMessageWriter();
writer.writeMessage(message, outstream);
} finally {
message.dispose();
}
});
entityTemplate.setContentType(message.getMimeType());
---
Oleg
> On Sat, 1 Jun 2019 at 18:58, Norman
> > 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
een down this road before on this list. The
> HttpClient 4.5 library has changed the way multipart works (from some
> earlier 4.x where I had it working).
>
> Near as I can tell from looking at the multipart examples in 4.5,
> they’re all geared towards file uploading. I’m not intere
not interested in file
uploading, I want to construct a payload for a web service that’s
expecting a multipart/mixed request: I want complete control over the
parts, the headers associated with those parts, their content types,
etc.
I stumbled from HttpClient to MIME4J, prehaps on the advice of someone
org> wrote:
> On Thu, 2016-06-02 at 12:52 +0200, Stefan Magnus Landrø wrote:
>> Hi there,
>>
>> We're struggeling with some limitations in the current multipart
>> implementation in 4.5 (latest).
>>
>> The MultipartEntityBuilder is actually building a Multi
ually want to be able to build a multipart/mixed entity which
> does have limitations with respect to filesize as defined in
> MultipartFormEntity.
>
> We're considering improving the MultipartEntityBuilder in such a way that
> it can also produce MultipartMixedEntity (new type)
>
ld 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 build
PM, Benson Margulies <bimargul...@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 in
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 o
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
On Tue, 2010-06-08 at 11:02 +0530, Saisatish vedam wrote:
On Mon, Jun 7, 2010 at 6:48 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Mon, 2010-06-07 at 11:52 +0530, Saisatish vedam wrote:
Hi,
I need to construct a multipart/mixed request with
(a) Set Content-type hdr (along
On Mon, 2010-06-07 at 11:52 +0530, Saisatish vedam wrote:
Hi,
I need to construct a multipart/mixed request with
(a) Set Content-type hdr (along with charset) for individual mime part
(b) Encode filename in the Content-Disposition hdr's using that charset (ex:
for multibyte file names
On Mon, Jun 7, 2010 at 6:48 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Mon, 2010-06-07 at 11:52 +0530, Saisatish vedam wrote:
Hi,
I need to construct a multipart/mixed request with
(a) Set Content-type hdr (along with charset) for individual mime part
(b) Encode filename
17 matches
Mail list logo