From 0556501a810467fcb18f0a0f312b475dff27d20b Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 14 Apr 2000 14:01:34 +0000 Subject: [PATCH] Anthony Baxter : The following adds support for RTSP (RFC2326) URLs to the standard urlparse.py module. (Augmented by FLD to include rtspu:, specified in the same RFC & OK'd by Anthony.) --- Lib/urlparse.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/urlparse.py b/Lib/urlparse.py index abaa66c8964..f4b45226b75 100644 --- a/Lib/urlparse.py +++ b/Lib/urlparse.py @@ -11,20 +11,20 @@ # A classification of schemes ('' means apply by default) uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', 'https', 'shttp', - 'prospero', ''] + 'prospero', 'rtsp', 'rtspu', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', 'file', 'https', 'shttp', 'snews', - 'prospero', ''] + 'prospero', 'rtsp', 'rtspu', ''] non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', 'snews', ] uses_params = ['ftp', 'hdl', 'prospero', 'http', - 'https', 'shttp', + 'https', 'shttp', 'rtsp', 'rtspu', ''] uses_query = ['http', 'wais', 'https', 'shttp', - 'gopher', + 'gopher', 'rtsp', 'rtspu', ''] uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', 'nntp', 'wais', 'https', 'shttp', 'snews',