hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject URI unicity
Date Thu, 13 Jul 2006 12:43:28 GMT
I have a requirement to avoid dupolicated URIs in database.
For example, URLs like

http://somedomain.com/path1?query1 and http://somedomain.com/path2?query2
should be considered as same url, but

http://somedomain.com/~username1 and http://somedomain.com/~username2 are not,

and finally

http://somedomain.com/~username1/path1 and
http://somedomain.com/~username1/path2?query should be considered as same.

Is there any way I can perform this validation using URI class?

-- 
Eugene N Dzhurinsky

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


Mime
View raw message