aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2019-12-18 20:04:14 +0000
committerGravatar jesopo2019-12-18 20:04:14 +0000
commitcfcccdd37beff242a1c594aca0dd0fa4eed4c6fa (patch)
treeddeb3cd60b37b7eb5a2dbd2ea8216abb5db97183 /src
parentforce utf8 encoding on eval_python.py (diff)
signature
we no longer use DECODE_CONTENT_TYPES
Diffstat (limited to 'src')
-rw-r--r--src/utils/http.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/http.py b/src/utils/http.py
index 6fe6be53..8c3fe015 100644
--- a/src/utils/http.py
+++ b/src/utils/http.py
@@ -33,7 +33,6 @@ USERAGENT = "Mozilla/5.0 (compatible; BitBot/%s; +%s" % (
RESPONSE_MAX = (1024*1024)*100
SOUP_CONTENT_TYPES = ["text/html", "text/xml", "application/xml"]
-DECODE_CONTENT_TYPES = ["text/plain"]+SOUP_CONTENT_TYPES
UTF8_CONTENT_TYPES = ["application/json"]
class HTTPException(Exception):