Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd41e08

Browse files
committed
Merged revisions 80146 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r80146 | senthil.kumaran | 2010-04-17 20:00:53 +0530 (Sat, 17 Apr 2010) | 3 lines Fix Issue5650 - Update the RFC List in the urlparse module. ........
1 parent f6b973f commit fd41e08

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

Lib/urllib/parse.py

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
11
"""Parse (absolute and relative) URLs.
22
3-
See RFC 1808: "Relative Uniform Resource Locators", by R. Fielding,
4-
UC Irvine, June 1995.
3+
urlparse module is based upon the following RFC specifications.
4+
5+
RFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding
6+
and L. Masinter, January 2005.
7+
8+
RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter
9+
and L.Masinter, December 1999.
10+
11+
RFC2396: "Uniform Resource Identifiers (URI)": Generic Syntax by T.
12+
Berners-Lee, R. Fielding, and L. Masinter, August 1998.
13+
14+
RFC2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998.
15+
16+
RFC 1808: "Relative Uniform Resource Locators", by R. Fielding, UC Irvine, June
17+
1995.
18+
19+
RFC1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M.
20+
McCahill, December 1994
21+
22+
RFC 3986 is considered the current standard and any changes to urlparse module
23+
should conform to this. urlparse module is not entirely compliant with this.
24+
The defacto scenarios of parsing are considered sometimes and for backward
25+
compatiblity purposes, older RFC uses of parsing are retained. The testcases in
26+
test_urlparse.py provides a good indicator of parsing behavior.
527
"""
628

729
import sys

0 commit comments

Comments
 (0)