From 974e32d910c259c0d97e96897d27b69388ac8577 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 22 Feb 1999 15:38:46 +0000 Subject: Steve Clift pointed out that 'file' allows a netloc. --- Lib/urlparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/urlparse.py b/Lib/urlparse.py index 148633e..af41a7a 100644 --- a/Lib/urlparse.py +++ b/Lib/urlparse.py @@ -10,6 +10,7 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', 'https', 'shttp', 'prospero', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', + 'file', 'https', 'shttp', 'snews', 'prospero', ''] non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', -- cgit v0.12