[Python-checkins] CVS: python/dist/src/Lib urlparse.py,1.23,1.24

Fred Drake python-dev@python.org
Fri, 14 Apr 2000 10:01:37 -0400


Update of /projects/cvsroot/python/dist/src/Lib
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Lib

Modified Files:
	urlparse.py 
Log Message:

Anthony Baxter <anthony@interlink.com.au>:
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.)


Index: urlparse.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/urlparse.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** urlparse.py	2000/04/10 17:02:46	1.23
--- urlparse.py	2000/04/14 14:01:34	1.24
***************
*** 12,29 ****
  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',
  		    'snews',
  		    ]
  uses_params = ['ftp', 'hdl', 'prospero', 'http',
! 	       'https', 'shttp',
  	       '']
  uses_query = ['http', 'wais',
  	      'https', 'shttp',
! 	      'gopher',
  	      '']
  uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', 'nntp', 'wais',
--- 12,29 ----
  uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file',
  		 'https', 'shttp',
! 		 'prospero', 'rtsp', 'rtspu', '']
  uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais',
  	       'file',
  	       'https', 'shttp', 'snews',
! 	       'prospero', 'rtsp', 'rtspu', '']
  non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',
  		    'snews',
  		    ]
  uses_params = ['ftp', 'hdl', 'prospero', 'http',
! 	       'https', 'shttp', 'rtsp', 'rtspu',
  	       '']
  uses_query = ['http', 'wais',
  	      'https', 'shttp',
! 	      'gopher', 'rtsp', 'rtspu',
  	      '']
  uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', 'nntp', 'wais',