Hi Roland,
thanks for your answer.. I get your point but the URL he is using
never-the-less contains a ref which is removed by the httpclient URI
class.. is that "correct" behaviour? are refs "invalid" in a URI? (The
java.net.URL class handles refs correctly).. Should I tell him not to
use the "#" character in a URI?
thanks again :-)
regards!
/Ole
eviware.com
Roland Weber skrev:
Hello Ole,
http://somehost.com/my/path#witharef
When using this endpoint as the URI for a PostMethod the ref "#witharef"
is removed from the path and never transmitted in the request.. I am
guessing that refs are not actually allowed in this context.. am I right
or should this be supported?
Refs are never part of HTTP requests. They are purely client-side, since
they point _into_ a document. The HTTP request will always be for the
whole document. Once the document is on the client, the application
can then look for the part of the document indicated by the reference.
hope that helps,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]