httpie-cli/httpie
Mickaël Schoentgen 9c89c703ae
Allow to overwrite the response Content-Type from options (#1134)
* Allow to override the response `Content-Type` from options

* Apply suggestions from code review

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Rename the option from `--response.content-type` to `--response-as`

* Update CHANGELOG.md

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-09-27 13:58:19 +02:00
..
cli Allow to overwrite the response Content-Type from options (#1134) 2021-09-27 13:58:19 +02:00
output Allow to overwrite the response Content-Type from options (#1134) 2021-09-27 13:58:19 +02:00
plugins Include plugin info in --debug output (#1165) 2021-09-23 17:15:14 +02:00
__init__.py Bump the version to 2.6.0.dev0 (#1162) 2021-09-21 10:40:09 +02:00
__main__.py Rework __main__.py to follow best practices (#1124) 2021-08-06 16:57:19 +02:00
client.py Use UTF8 constant in FORM_CONTENT_TYPE as well 2021-08-05 21:00:17 +02:00
compat.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
config.py Remove unused code in BasicConfig (#1123) 2021-08-06 18:04:08 +02:00
constants.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
context.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
core.py Include plugin info in --debug output (#1165) 2021-09-23 17:15:14 +02:00
downloads.py --download: Use time.monotonic() and rework code to prevent ZeroDivisionError specific handling (#1113) 2021-07-29 16:05:56 +02:00
models.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
sessions.py Fix handling of session files with Cookie: followed by other headers (#1127) 2021-08-16 14:50:46 +02:00
ssl.py Request content type 2020-09-25 14:44:22 +02:00
status.py Cleanup 2019-12-02 00:58:10 +01:00
uploads.py Use relative imports (#1057) 2021-05-05 14:13:39 +02:00
utils.py Fix duplicate keys preservation of JSON data (#1163) 2021-09-21 19:07:59 +02:00