Jitterbug-Id: 205
Submitted-By: mnot@akamai.com
Date: Tue, 15 Feb 2000 17:09:44 -0500 (EST)
Version: 1.5.2
OS: All
Python parses urls into the following data structure:
(scheme, netloc, path, params, query, fragment)
and references RFC1808. 1808 has been updated by RFC2396, which allows
on each path segment, not just the last. This would imply a data structure
either like this:
(scheme, netloc, path, query, fragment)
or this:
(scheme, netloc, [(segment, parameters)...], query, fragment)
Rather than updating urlparse.py (and introducing incompatibility), it may be
nice to introduce a new class (say, uriparse.py) that implements 2396. If
there's enough interest, I may give it a go...
====================================================================
Audit trail:
Wed Feb 23 21:39:30 2000 guido sent reply 1
Wed Feb 23 21:39:42 2000 guido changed notes
Wed Feb 23 21:39:42 2000 guido moved from incoming to request
|