1
0
mirror of https://github.com/httpie/cli.git synced 2025-04-15 11:46:53 +02:00
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
..
2015-01-23 23:56:08 +01:00
2018-06-09 11:59:34 +02:00
2017-03-10 11:27:38 +01:00
2016-11-24 00:58:41 +01:00
2018-07-12 21:16:16 +02:00
2019-08-29 10:06:25 +02:00
2019-08-29 10:44:59 +02:00
2019-08-29 08:53:56 +02:00
2017-03-10 11:27:38 +01:00
2018-07-12 21:16:16 +02:00
2019-08-29 08:53:56 +02:00
2016-03-03 18:50:18 +08:00
2019-08-29 08:53:56 +02:00

HTTPie Test Suite
=================


Please see `CONTRIBUTING`_.


.. _CONTRIBUTING: https://github.com/jakubroztocil/httpie/blob/master/CONTRIBUTING.rst