httpie-cli/httpie
Aleksandr Vinokurov 5ec954c03d Add compressed requests (#739)
* Add optional compression of the request's content

This option allows compression of the files and/or data during uploading,

Examples:

    http --form --compress POST https://localhost/upload csv@./very-big.csv

    http -x -x POST https://localhost/upload foo=bar

    cat /var/log/system.log | http -x POST https://localhost/upload

Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>

* Add tests for compression

Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>

* Fix code style issues

Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>

* Fix zlib compression api missuse in Python3

Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>

* Remove tracing from compression logic

Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
2019-08-29 10:44:59 +02:00
..
output Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
plugins Start using dict comprehensions 2017-12-28 18:15:17 +01:00
__init__.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
__main__.py Exit with status 130 on CTRL-C 2016-10-26 11:53:01 +02:00
cli.py Add compressed requests (#739) 2019-08-29 10:44:59 +02:00
client.py Add compressed requests (#739) 2019-08-29 10:44:59 +02:00
compat.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
config.py Fix some broken documentation links (#703) 2018-09-07 19:10:04 +02:00
context.py Handle curses-free Pythons 2016-09-06 11:50:56 +01:00
core.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
downloads.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
input.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
models.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
sessions.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
utils.py Removed Python 2.6 support 2017-12-28 18:03:37 +01:00