Hi guys,

I'm migrating some code from HttpClient 3.1 to HttpClient 4.0. We were using
URIUtil in a couple of places (encodeQuery(), encodePath(), decode(), etc),
but I don't see any equivalent functionality in HC4. Does it exist? If not,
what was the reason for its removal, and is there some other library I
should be looking at instead? The closest thing I can find is Commons
Codec's URLCodec class, but (a) it behaves like java.net.URLEncoder
(replaces spaces with '+' chars instead of %20's), and (b) doesn't know
about differences in the allowed characters for the different parts of URLs.

Take care,

Daniel

-- 
Daniel Gredler
http://daniel.gredler.net/

Reply via email to