[url] URL comparison methods (#20)

It would be really nice if this API included common comparison algorithms for URL. 

In particular, including a way to check if:

* URL A is same origin as B.
* URL A is same as B. 
* URL A subsumes (or includes) B (e.g., http://foo.com/bar/bas subsumes http://foo.com/bar/).  


---
Reply to this email directly or view it on GitHub:
https://github.com/webspecs/url/issues/20

Received on Friday, 19 December 2014 05:07:01 UTC