diff options
| -rw-r--r-- | src/utils/http.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/http.py b/src/utils/http.py index 5261e955..8ff4ac32 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -58,6 +58,7 @@ def get_url(url, method="GET", get_params={}, post_data=None, headers={}, except _json.decoder.JSONDecodeError as e: raise HTTPParsingException(str(e)) + data = data.decode(response.encoding) if code: return response.status_code, data else: |
