[Web-SIG] urlparse method behaviour when handing abs/rel urls

O.R.Senthil Kumaran orsenthil at gmail.com
Sun Jun 29 13:32:53 CEST 2008


* scriptor Fred Drake, explico 
> 2. Abreviated URLs in a user interface that implies no context with a
> base URL (like the browser's address bar).
> 
> I'd suggest that these are completely different.  urlsplit and
> urlparse support 1.  If we want the second, that should be a separate
> function.  It would be reasonable to add that to the urlparse module
> (urllib.parse in Python 3).
> 

Thanks for the clarification. That sums up the things.

I seek a concensus on a need for a "Abreviated URL" handling function. Do we
need this in urllib.parse/urlparse library?

In that case the specifications of how this function should behave will need to
be defined by us.

One advantage I can see is, when people provide "abbreviated url", then the
result of parsing it into path and netloc would be proper as per their (common
held) expectations.

Anything else?


-- 
O.R.Senthil Kumaran
http://uthcode.sarovar.org


More information about the Web-SIG mailing list