we no longer use DECODE_CONTENT_TYPES

This commit is contained in:
jesopo 2019-12-18 20:04:14 +00:00
parent 0f1bf6ee22
commit cfcccdd37b

View file

@ -33,7 +33,6 @@ USERAGENT = "Mozilla/5.0 (compatible; BitBot/%s; +%s" % (
RESPONSE_MAX = (1024*1024)*100 RESPONSE_MAX = (1024*1024)*100
SOUP_CONTENT_TYPES = ["text/html", "text/xml", "application/xml"] SOUP_CONTENT_TYPES = ["text/html", "text/xml", "application/xml"]
DECODE_CONTENT_TYPES = ["text/plain"]+SOUP_CONTENT_TYPES
UTF8_CONTENT_TYPES = ["application/json"] UTF8_CONTENT_TYPES = ["application/json"]
class HTTPException(Exception): class HTTPException(Exception):