Guido van Rossum
6e3e6e0d77
Forgot to backport the rest of #1637 .
2008-01-06 02:40:07 +00:00
Alexandre Vassalotti
483704508d
Backport r59480.
...
Fix issue #1313119 .
2007-12-13 18:18:47 +00:00
Fred Drake
ad5177cf8d
Patch #624325 : urlparse.urlparse() and urlparse.urlsplit() results
...
now sport attributes that provide access to the parts of the result.
2006-04-01 22:14:43 +00:00
Fred Drake
23fd3d49e9
add support for the sips: scheme (identical to sip: except for scheme name)
2006-04-01 06:11:07 +00:00
Georg Brandl
89f35ac180
Bug #1407902 : Added support for sftp:// URIs to urlparse.
2006-01-20 17:24:23 +00:00
Fred Drake
50747fc1b9
add support for svn: and svn+ssh: URL schemes to urlparse
2005-07-29 15:56:32 +00:00
Johannes Gijsbers
41e4faa82b
Patch #712317 : In URLs such as http://www.example.com?query=spam , treat '?' as
...
a delimiter. Previously, the 'network location' (<authority> in RFC 2396) would
become 'www.example.com?query=spam', while RFC 2396 does not allow a '?' in
<authority>. See bug #548176 for further discussion.
2005-01-09 15:29:10 +00:00
Raymond Hettinger
a617271dbd
Use cStringIO where available.
2004-12-31 19:15:26 +00:00
Brett Cannon
fbac294d59
rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network
...
location) in its addressing.
Closes bug #981299 .
2004-06-29 04:02:40 +00:00
Raymond Hettinger
156c49ad1c
Revert last change.
2004-05-07 05:50:35 +00:00
Raymond Hettinger
6924a00d10
Use sets instead of lists for membership testing
2004-05-06 16:55:07 +00:00
Brett Cannon
8da2a52dd6
See rev. 1.42 for log message
2003-10-12 04:29:10 +00:00
Martin v. Löwis
12a7f96aec
Patch #712124 : Remove obsolete comment.
2003-03-30 16:28:26 +00:00
Raymond Hettinger
ef30dc872b
Revert change 1.37.
...
The nanoseconds saved by using dict.fromkeys aren't
worth the loss in clarity. Linear searches live on.
2003-01-07 02:09:16 +00:00
Skip Montanaro
f09b88ee2f
* add mms (windows media) as another scheme
...
* reformat schemes to 80 columns
2003-01-06 20:27:03 +00:00
Raymond Hettinger
f2128b004c
Used dictionaries rather than lists for membership testing.
2003-01-06 12:30:53 +00:00
Neal Norwitz
4f442372cc
SF feature #618024 , urlparse fails on imap://
2003-01-06 06:51:36 +00:00
Fred Drake
f606e8d705
Added missing entries to __all__.
2002-10-16 21:21:39 +00:00
Guido van Rossum
bbc0568a5c
Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
...
Will add test and backport.
2002-10-14 19:59:54 +00:00
Neal Norwitz
7dfb6e295b
Fix SF # 591713, Fix "file:" URL to have right no. of /'s, by Bruce Atherton
...
Add a test too. urljoin() would make file:/tmp/foo instead of file:///tmp/foo
Bugfix candidate, I will backport.
2002-09-25 19:20:12 +00:00
Michael W. Hudson
bd3e771a97
amk's fix attached to
...
[ 516299 ] urlparse can get fragments wrong
2002-03-18 13:06:00 +00:00
Fred Drake
5751a22ede
Fix parsing of parameters from a URL; urlparse() did not check that it only
...
split parameters from the last path segment. Introduces two new functions,
urlsplit() and urlunsplit(), that do the simpler job of splitting the URL
without monkeying around with the parameters field, since that was not being
handled properly.
This closes bug #478038 .
2001-11-16 02:52:57 +00:00
Andrew M. Kuchling
3e44248483
Remove unused variable
2001-08-13 14:38:50 +00:00
Skip Montanaro
40fc16059f
final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
...
giving it a slight facelift
2001-03-01 04:27:19 +00:00
Tim Peters
e119006e7d
Whitespace normalization. Top level of Lib now fixed-point for reindent.py!
2001-01-15 03:34:38 +00:00