2022-02-04 08:37:02 -05:00
|
|
|
"""Deprecated - New code should avoid these"""
|
|
|
|
|
|
|
|
import base64
|
2022-06-24 04:10:17 -04:00
|
|
|
import urllib.error
|
|
|
|
import urllib.parse
|
|
|
|
|
|
|
|
compat_str = str
|
2022-02-04 08:37:02 -05:00
|
|
|
|
|
|
|
compat_b64decode = base64.b64decode
|
2022-06-24 04:10:17 -04:00
|
|
|
|
2022-02-04 08:37:02 -05:00
|
|
|
compat_HTTPError = urllib.error.HTTPError
|
2022-06-24 04:10:17 -04:00
|
|
|
compat_urlparse = urllib.parse
|
2022-02-04 08:37:02 -05: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
|