httpie-cli/httpie/output
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
..
formatters Improve JSON output when there is leading data before the actual JSON body (#1130) 2021-09-21 11:15:43 +02:00
lexers Improve JSON output when there is leading data before the actual JSON body (#1130) 2021-09-21 11:15:43 +02:00
__init__.py Modularized output, refactoring 2014-04-27 21:58:00 +02:00
processing.py Allow to overwrite the response Content-Type from options (#1134) 2021-09-27 13:58:19 +02:00
streams.py Allow to overwrite the response Content-Type from options (#1134) 2021-09-27 13:58:19 +02:00
utils.py Allow to overwrite the response Content-Type from options (#1134) 2021-09-27 13:58:19 +02:00
writer.py Minor clean-up (#1112) 2021-07-26 23:56:38 +02:00