1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Changed the default JSON Content-Type to application/json.

This commit is contained in:
Jakub Roztocil
2015-02-14 17:44:47 +01:00
parent 748794257c
commit 6e7e2f2eea
3 changed files with 10 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ from httpie.plugins import plugin_manager
FORM = 'application/x-www-form-urlencoded; charset=utf-8'
JSON = 'application/json; charset=utf-8'
JSON = 'application/json'
DEFAULT_UA = 'HTTPie/%s' % __version__