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.

Author gdata gmail
Recipients gdata gmail
Date 2015-05-30.18:05:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433009117.13.0.805142378902.issue24332@psf.upfronthosting.co.za>
In-reply-to
Content
The documenatation for urllib.parse (https://docs.python.org/3.0/library/urllib.parse.html) states several times:

"This may result in a slightly different, but equivalent URL, if the URL that was parsed originally had unnecessary delimiters (for example, a ? with an empty query; the RFC states that these are equivalent)."

This is false -- RFC 3986 explicitly states that ? with an empty query is _not_ equivalent to a URL without it.  For example, the following two URL's should be considered different:

http://example.com/?
http://example.com/

https://tools.ietf.org/html/rfc3986#section-6.2.3
History
Date User Action Args
2015-05-30 18:05:17gdata gmailsetrecipients: + gdata gmail
2015-05-30 18:05:17gdata gmailsetmessageid: <1433009117.13.0.805142378902.issue24332@psf.upfronthosting.co.za>
2015-05-30 18:05:17gdata gmaillinkissue24332 messages
2015-05-30 18:05:16gdata gmailcreate