From cfcccdd37beff242a1c594aca0dd0fa4eed4c6fa Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 18 Dec 2019 20:04:14 +0000 Subject: we no longer use DECODE_CONTENT_TYPES --- src/utils/http.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/utils/http.py') 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): -- cgit v1.3.1-10-gc9f91