Re: HttpClient 5.0 release

2019-06-04 Thread Adam Retter
So by that reasoning... taking the current code and changing the version number improves the quality Does it though?!? On Tue, 4 Jun 2019, 17:24 Puneet Prakash, wrote: > Hi, > > >What is it exactly that stops you from using HttpClient 5.0 right now? > it is our policy for our products, not

Re: Constructing multipart/mixed requests

2019-06-02 Thread Adam Retter
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: &

Re: Constructing multipart/mixed requests

2019-06-02 Thread Adam Retter
+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=ZQwFLuoO6V1SFdqg2lI6DaVwlv

Re: Constructing multipart/mixed requests

2019-06-02 Thread Adam Retter
the Content-Disposition stuff. Whether that class stays stable over time I cannot say, I agree with you that it looks like the HTTP Client is missing an easy way to cleanly do multipart. It would seem to me that a org.apache.http.entity.mime.MultiPartBuilder would make sense, from which org.apach

Re: Constructing multipart/mixed requests

2019-06-01 Thread Adam Retter
t is only one possibility so I’d really, really rather not > have to have two entirely different code paths where I use HttpClient > for some requests and use direct serialization of MIME4J payloads over > a URLConnection for the other.) > > Help and advice most humbly solicited. > >

Re: Broken pipe (Write failed) when making Unauthorized request

2018-10-11 Thread Adam Retter
a non-blocking HTTP client such as Apache HttpAsyncClient > 4.1 or 5.0 that can handle out of sequence responses. > I will give this some thought... -- Adam Retter eXist Core Developer { United Kingdom / United States } a...@exist-db.org

Broken pipe (Write failed) when making Unauthorized request

2018-10-10 Thread Adam Retter
try { System.out.println(httpResponse.getStatusLine()); } finally { httpResponse.close(); } } finally { httpClient.close(); } } } Thanks for your time. --Adam Retter eXist Core Developer { United Kingdom / United States } a...@exist-db.org

Httpclient 3.2 Threading problem

2008-07-25 Thread Adam Retter
would of thought it would complete?!? Thanks Adam Retter Landmark Information Group Ltd 5-7 Abbey Court Eagle Way Sowton Industrial Estate Exeter Devon EX2 7HY t: +44(0)1392 685403 w: http://www.landmarkinfo.co.uk Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY