Re: ERRest example and Commons Httpclient 4

Larry Mills-Gahl <[email protected]> Tue, 19 Mar 2013 13:33:57 -0500
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
Since they're so different, I'll put it alongside the er.rest.example.client.ERXRestClient in ERRestRouteExample. That shouldn't pollute the project too much and it'll keep the examples working.


Larry Mills-Gahl
[email protected]






On Mar 17, 2013, at 5:50 PM, Pascal Robert <[email protected]> wrote:

> 
> Le 2013-03-17 à 15:20, Larry Mills-Gahl <[email protected]> a écrit :
> 
>> 
>> I working through ERRestRouteExample and am trying to get the example provided in ERXRestClient to work with the recent HttpComponents libraries from the Apache Commons project. (HttpClient was end-of-lifed at 3.1 and rolled into HttpComponents with some significant API changes.)
> 
> Yeah, the 4.x API is really different.
> 
>> My question is, has someone done this already or is there another example using httpclient 4.x?
> 
> I don't, but it's something that should be done. I'm reworking a CalDAV API because httpclient is much better: it can pre-auth for Digest (3.x can only do it for Basic) and it can follow redirects on methods other that GET (even if it's not something servers should do).

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc