Jakub Roztocil
fc85988368
Change default JSON Accept
to application/json, */*;q=0.5
...
See #488
2020-04-18 12:03:38 +02:00
Jakub Roztocil
83bd8059de
accept wip
2020-04-18 12:03:37 +02:00
Jakub Roztocil
4351650691
Ignore --download
with --offline
2020-04-16 11:41:12 +02:00
Jakub Roztocil
8936d1b71e
Add tests for --offline
2020-04-16 11:28:21 +02:00
Jakub Roztocil
cdf691c212
Change default JSON Accept
to application/json, */*;q=0.5
...
Close #488
2020-04-13 22:12:06 +02:00
Jakub Roztocil
684a4708d7
Add --path-as-is
...
Close #895
2020-04-13 20:18:56 +02:00
Jakub Roztocil
e6bad645ed
Fixed --form
file upload mixed with redirected stdin
error handling.
...
Close #840
2020-01-23 15:55:00 +01:00
Jakub Roztocil
38bc578744
Fix tests
2019-12-04 18:09:51 +01:00
Jakub Roztocil
5aa9ed795e
Switch to explicitly listed directories to search in for *.rst
#820
2019-12-04 13:51:45 +01:00
Roger Wernersson
e8b22d8b51
exclude site-packages from .rst file scanning ( #820 )
...
make test fails when finding .rst files from site packages installed
in the virtual environment
2019-12-04 13:37:57 +01:00
Roger Wernersson
615d887513
run rst2pseudoxml.py with shell=true ( #821 )
...
makes rst2pseudoxml.py work properly on Windows
executes via a shell instead of not working
2019-12-04 13:33:13 +01:00
Semen Zhydenko
dcd6b63e45
withing -> within ( #795 )
2019-12-02 18:12:51 +01:00
Jakub Roztocil
7390869cd6
Skip test_config_file_inaccessible on Windows
2019-12-02 17:59:44 +01:00
Jakub Roztocil
0af486d1b7
Ignore test cleanup rmtree errors (Win)
2019-12-02 17:53:29 +01: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
9bae27354e
Add main entry point tests
2019-09-18 11:57:27 +02:00
Jakub Roztocil
0df4db7bb4
Cleanup
2019-09-16 13:28:01 +02: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
aba3b1ec01
Refactoring
2019-08-31 15:17:10 +02:00
Jakub Roztocil
3e24827f4d
Test that --ignore-netrc
doesn't interfere with --auth
2019-08-31 12:14:44 +02:00
Jakub Roztocil
1dc67a6a38
Allow bypassing .netrc with --ignore-netrc
( close #730 )
2019-08-31 12:09:17 +02:00
Jakub Roztocil
0f654388fc
Python 3 annotations, super(), pathlib, etc.
2019-08-30 15:14:51 +02:00
Jakub Roztocil
9bd8b4e8f7
Don't fail if config dir not writeable ( close #738 )
2019-08-29 14:05:32 +02:00
Jakub Roztocil
ced9212c1f
Allow stdin to be a closed fd #791
2019-08-29 13:39:42 +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
a4d8f1f22e
Refactor --compress
tests
2019-08-29 11:46:08 +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
Jakub Roztocil
82081c889b
Fix `--timeout=0
`
2019-08-29 10:06:25 +02:00
Jakub Roztocil
e93de1fbe7
Make test_binary_suppresses_*
deterministic
2019-08-29 09:46:17 +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
b3d2c1876e
Python 2.7 support removal WIP
2019-08-29 08:53:56 +02:00
Jakub Roztocil
4dd9dbd314
fix test_ssl_version II
2019-08-29 08:14:19 +02:00
Jakub Roztocil
29df4cd4f3
fix test_ssl_version on pypy
2019-08-29 08:05:31 +02:00
Jakub Roztocil
df36d6255d
Changed the way the output filename is generated
...
When ``--download`` without ``--output`` results in a redirect,
now only the initial URL is considered, not the final one.
2019-06-24 12:20:09 +02:00
Mickaël Schoentgen
3a46149de1
Fix several ResourceWarning: unclosed file ( #741 )
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-02-04 10:00:30 +01:00
Jakub Roztocil
b88e88d2e3
Fix tests for installation with pyOpenSSL #729
2018-11-14 16:10:08 +01:00
Jakub Roztocil
f6a19cf552
Don't call external URLs from tests #729
2018-11-14 11:42:59 +01:00
Jakub Roztocil
b596fedf13
exit 0
constant: OK
=> SUCCESS
to avoid confusion w/ HTTP 200 OK
2018-11-02 16:07:39 +01:00
Jakub Roztocil
7917f1b40c
Build fixes and clean-up
...
* reflect Python 3.7 release
* fix `pycodestyle` errors
* update `pycodestyle` config
* move `pytest` and `pycodestyle` config to `setup.cfg`
* add `make pycodestyle`
* add `make coveralls`
* etc.
2018-07-12 21:16:16 +02:00
Jakub Roztocil
a50660cc70
Test --timeout with longer delay
...
test_timeout_exit_status fails on Python 2.7
https://travis-ci.org/jakubroztocil/httpie/jobs/390072675#L325
2018-07-12 00:39:31 +02:00
Jakub Roztocil
749b1e2aca
Fix pytest configuration
2018-06-09 11:59:34 +02:00
Jakub Roztocil
0f4dce98c7
Make default HTTP headers case-insensitive
...
Cloase #644
2018-02-22 12:52:57 +01:00
Jakub Roztocil
11be041e06
Rename TestEnvironment
to MockEnvironment
to avoid pytest warnings
...
Close #621
2017-12-28 18:17:48 +01:00
Jakub Roztocil
ec899d70b7
Removed Python 2.6 support
...
* Travis CI doesn't support it anymore.
* It had EOL more than 4 years ago
2017-12-28 18:03:37 +01:00
darshanime
6472ca55e1
fix env version attribute
2017-11-18 19:01:26 +05:30
Pablo Santiago Blum de Aguiar
9776a6dea0
Support requests>=2.14.0
...
From that release onwards, `cert_verify` raises `IOError` [1].
1: https://github.com/kennethreitz/requests/commit/7d8b87c
2017-05-17 20:31:10 -03:00
Jakub Roztocil
c948f98b05
Update links
2017-03-10 11:27:38 +01:00
Jakub Roztocil
7321b9fa4e
Add --verify true/false tests and CHANGELOG
2017-02-17 00:56:07 +01:00