httpie-cli/tests
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
..
client_certs Added test client SSL certs 2015-01-23 23:56:08 +01:00
fixtures Added --show-redirects and --max-redirects 2016-02-29 14:12:09 +08:00
conftest.py Fix pytest configuration 2018-06-09 11:59:34 +02:00
README.rst Update links 2017-03-10 11:27:38 +01:00
test_auth_plugins.py Cleanup 2016-11-24 00:58:41 +01:00
test_auth.py Rename TestEnvironment to MockEnvironment to avoid pytest warnings 2017-12-28 18:17:48 +01:00
test_binary.py Make test_binary_suppresses_* deterministic 2019-08-29 09:46:17 +02:00
test_cli.py Build fixes and clean-up 2018-07-12 21:16:16 +02:00
test_config.py Rename TestEnvironment to MockEnvironment to avoid pytest warnings 2017-12-28 18:17:48 +01:00
test_defaults.py Make default HTTP headers case-insensitive 2018-02-22 12:52:57 +01:00
test_docs.py Fixed test_rst_file_syntax error message 2016-03-03 17:22:12 +08:00
test_downloads.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
test_errors.py Fix `--timeout=0` 2019-08-29 10:06:25 +02:00
test_exit_status.py exit 0 constant: OK => SUCCESS to avoid confusion w/ HTTP 200 OK 2018-11-02 16:07:39 +01:00
test_httpie.py Add compressed requests (#739) 2019-08-29 10:44:59 +02:00
test_output.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
test_redirects.py Rename --print-others to --history-print. 2016-07-01 18:49:27 +02:00
test_regressions.py Update links 2017-03-10 11:27:38 +01:00
test_sessions.py Build fixes and clean-up 2018-07-12 21:16:16 +02:00
test_ssl.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
test_stream.py Rename TestEnvironment to MockEnvironment to avoid pytest warnings 2017-12-28 18:17:48 +01:00
test_unicode.py Cleanup tests 2016-03-03 18:50:18 +08:00
test_uploads.py Rename TestEnvironment to MockEnvironment to avoid pytest warnings 2017-12-28 18:17:48 +01:00
test_windows.py Rename TestEnvironment to MockEnvironment to avoid pytest warnings 2017-12-28 18:17:48 +01:00
utils.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00

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


Please see `CONTRIBUTING`_.


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