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