2022-02-04 13:37:02 +00:00
|
|
|
"""Deprecated - New code should avoid these"""
|
|
|
|
|
|
|
|
import base64
|
2022-06-24 08:10:17 +00:00
|
|
|
import urllib.error
|
|
|
|
import urllib.parse
|
|
|
|
|
|
|
|
compat_str = str
|
2022-02-04 13:37:02 +00:00
|
|
|
|
|
|
|
compat_b64decode = base64.b64decode
|
2022-06-24 08:10:17 +00:00
|
|
|
|
2022-02-04 13:37:02 +00:00
|
|
|
compat_HTTPError = urllib.error.HTTPError
|
2022-06-24 08:10:17 +00:00
|
|
|
compat_urlparse = urllib.parse
|
2022-02-04 13:37:02 +00:00
|
|
|
compat_parse_qs = urllib.parse.parse_qs
|
|
|
|
compat_urllib_parse_unquote = urllib.parse.unquote
|
|
|
|
compat_urllib_parse_urlencode = urllib.parse.urlencode
|
|
|
|
compat_urllib_parse_urlparse = urllib.parse.urlparse
|