If I have URL A say http://www.example.com/
and another, say http://www.example.com
. What would be the safest way to determine if both is the same, without querying for the web page and do a diff?
EXAMPLES:
http://www.example.com/
VShttp://www.example.com
(Mentioned above)http://www.example.com/aa/../
VShttp://www.example.com
EDIT: Clarifications: Just want to know if the URLs are the same in the context of being equivalent according to the RFC 1738 standard.