This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urlparse and HTTP parameters (PR#205)
Type: enhancement Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: jhylton Nosy List: barry, brett.cannon, fdrake, jhylton, nobody
Priority: low Keywords:

Created on 2000-08-01 21:13 by anonymous, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Messages (8)
msg751 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-08-01 21:13
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
msg752 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-08-01 21:13
From: Guido van Rossum <bugs-py@python.org>
Subject: Re: urlparse and HTTP parameters (PR#205)
Date: Wed Feb 23 21:39:30 2000

Go for it!

--Guido van Rossum
msg753 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-08-01 21:13
Go for it!
msg754 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2000-08-17 02:02
An excellent idea; it can be incorporated in the existing urlparse module using new names.  This won't be done for Python 2.0 at any rate, however.
msg755 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2000-09-07 22:03
Please do triage on this bug.
msg756 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2000-09-16 22:07
Jeremy seems like the best person to decide about this.
msg757 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2000-10-03 14:14
added to pep 42
msg758 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2004-04-19 06:28
Logged In: YES 
user_id=357491

is urlparse still not compatible?  The regression tests test against RFC 
2396 examples now.
History
Date User Action Args
2022-04-10 16:02:13adminsetgithub: 32835
2000-08-01 21:13:42anonymouscreate