from __future__ import absolute_import # Can't use the compat module here because of an import loop try: import urlparse as _urlparse except ImportError: from urllib import parse as _urlparse def register_scheme(scheme): for method in filter(lambda s: s.startswith('uses_'), dir(_urlparse)): uses = getattr(_urlparse, method) if scheme not in uses: uses.append(scheme) urlparse = _urlparse.urlparse parse_qsl = _urlparse.parse_qsl
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
serializer | Folder | 0755 |
|
|
__init__.py | File | 3.14 KB | 0644 |
|
basic.py | File | 2.39 KB | 0644 |
|
compat.py | File | 5.54 KB | 0644 |
|
conf.py | File | 2.29 KB | 0644 |
|
encoding.py | File | 3.23 KB | 0644 |
|
http.py | File | 1.95 KB | 0644 |
|
imports.py | File | 404 B | 0644 |
|
json.py | File | 2.91 KB | 0644 |
|
ssl_match_hostname.py | File | 3.51 KB | 0644 |
|
stacks.py | File | 9.8 KB | 0644 |
|
testutils.py | File | 697 B | 0644 |
|
transaction.py | File | 1.06 KB | 0644 |
|
urlparse.py | File | 476 B | 0644 |
|
wsgi.py | File | 3.64 KB | 0644 |
|