Jakub Roztocil
491188d9d4
Encoding refactoring
...
* split --response-as into --response-mime and --response-charset
* add support for Content-Type charset for requests printed to terminal
* add support charset detection for requests printed to terminal without a Content-Type charset
* etc.
2021-10-04 20:43:34 +02:00
Mickaël Schoentgen
71adcd97d0
Improve handling of prettified responses without correct content-type encoding ( #1110 )
...
* Improve handling of responses without correct content-type charset
* [skip ci] Minor tweaks in tests
* [skip ci] Add documentation
Co-authored-by: claudiatd <claudiatd@gmail.com >
* Improve unknown encoding test
[skip ci]
* Review mime and options retrieval
* Add full content-type example in help output
* Simplify decoder
* [skip ci] s/charset/encoding/
* Tweaks
* [skip ci] Fix type annotation
* [skip ci] s/charset/encoding/
* Tweaks
* Fix type annoation
* Improvement
* Introduce `codec.encode()`
* [skip ci] Tweak changelog
Co-authored-by: claudiatd <claudiatd@gmail.com >
2021-09-29 20:22:19 +02:00
Mickaël Schoentgen
a3a08a9a22
Use relative imports ( #1057 )
...
* Use relative imports in test
* Use relative imports
* Add myself to contributors :)
2021-05-05 14:13:39 +02:00
Mickaël Schoentgen
1274d869f6
Replace usage of mock with unittest.mock ( #1054 )
...
Since Python 3, the mock dependency is no more required as
it is already part of the unittest module.
2021-04-30 15:08:27 +02:00
Jakub Roztocil
6cb822255d
PEP8
2019-12-02 17:46:40 +01:00
Jakub Roztocil
f202f338a4
Remove automatic config file creation to avoid concurrency issues.
...
Close #788
Close #812
2019-12-02 17:43:16 +01:00
Jakub Roztocil
374c371ef1
Add httpie.status
2019-09-16 13:26:18 +02:00
Jakub Roztocil
bece3c77bb
Add one-by-one processing of each HTTP request or response and --offline
2019-09-03 17:14:39 +02:00
Jakub Roztocil
8e04a24b90
Reintroduce $ https command alias with https:// as default scheme
...
Close #608
2019-08-29 13:08:02 +02:00
Jakub Roztocil
82081c889b
Fix `--timeout=0`
2019-08-29 10:06:25 +02:00
Jakub Roztocil
a969013bdd
Disable default max headers limit and add --max-headers ( closes #802 )
2019-08-29 09:39:19 +02:00
Jakub Roztocil
bb49a1f979
Improved --debug output
2016-03-05 01:42:48 +08:00
Jakub Roztocil
2a25d71aa4
Refactored main() into program() + main()
2016-03-01 21:10:54 +08:00
Marc Abramowitz
f855de16c2
Increase test coverage for error handling
2015-02-15 23:22:52 -08:00