Senthil Kumaran <sent...@uthcode.com> added the comment:

>>> urljoin("http://";, "//somedomain.com")
results in "http://somedomain.com";

So, I wonder if this  way to specify the relative url properly and not the 
base-url. 

The test suite of urlparse tries to follow all the advertised scenarios for 
RFC3986 and also some more tests (which are usually discovered by de-facto 
scenarios of how other clients (mainly browsers) deal with it. If there is a 
browser behavior which we should emulate, without breaking existing code, we 
should consider this, otherwise we could leave this in invalid state.  Thanks!

----------
nosy: +orsenthil

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to