Re: ERRest example and Commons Httpclient 4

Pascal Robert <[email protected]> Sun, 17 Mar 2013 18:50:41 -0400
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
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