Change default JSON Accept to application/json, */*;q=0.5

Close #488
This commit is contained in:
Jakub Roztocil authored and GitHub committed 2020-04-13 22:12:06 +02:00
1 parent 684a4708d7
commit cdf691c212
4 files changed
+18 -12

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ except (ImportError, AttributeError):
FORM_CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=utf-8'
JSON_CONTENT_TYPE = 'application/json'
JSON_ACCEPT = f'{JSON_CONTENT_TYPE}, */*'
JSON_ACCEPT = f'{JSON_CONTENT_TYPE}, */*;q=0.5'
DEFAULT_UA = f'HTTPie/{__version__}'