[Web-SIG] urlparse method behaviour when handing abs/rel urls
orsenthil at gmail.com
Sun Jun 29 13:43:03 CEST 2008
* scriptor Robert Brewer, explico
> There's even a 3rd case: HTTP's Request-URI. For example, '//path' must
> be treated as an abs_path consisting of two path_segments ['', 'path'],
> not a net_loc, since the Request_URI must be one of ("*" | absoluteURI |
> abs_path | authority).
> /__init__.py#L247 for an implementation.
Thanks for passing on this note and the example.
Gives an idea of changes required in urlparse modules for RFC2396 compliance
More information about the Web-SIG