hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustavo Hexsel <ghex...@sagebrushcorp.com>
Subject Confusion with encodings - to encode or not to encode? It's like information age Hamlet...
Date Thu, 25 Nov 2004 18:22:15 GMT

  I'm having some trouble grasping the new encoding methods (new as in
3.0a1).  I'm not sure when things should get encoded or not, and where they
should be decoded again.  

  For instance:
- when I parse the "location" header for redirects, should I encode it?  

- when I parse a relative URL from a page and merge it with the current
address, I'm using the constructor HttpURL(HttpURL base, String relative).
However, it does not generate the correct encoding (I filed a bug on it, but
now I'm not sure I'm using the API correctly).

  []s Gustavo

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message