|
48 | 48 | 'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips', |
49 | 49 | 'mms', '', 'sftp'] |
50 | 50 |
|
| 51 | +# These are not actually used anymore, but should stay for backwards |
| 52 | +# compatibility. (They are undocumented, but have a public-looking name.) |
| 53 | +non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', |
| 54 | + 'telnet', 'wais', 'imap', 'snews', 'sip', 'sips'] |
| 55 | +uses_query = ['http', 'wais', 'imap', 'https', 'shttp', 'mms', |
| 56 | + 'gopher', 'rtsp', 'rtspu', 'sip', 'sips', ''] |
| 57 | +uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', |
| 58 | + 'nntp', 'wais', 'https', 'shttp', 'snews', |
| 59 | + 'file', 'prospero', ''] |
| 60 | + |
51 | 61 | # Characters valid in scheme names |
52 | 62 | scheme_chars = ('abcdefghijklmnopqrstuvwxyz' |
53 | 63 | 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
0 commit comments