Commit Graph

1862 Commits

Author SHA1 Message Date
Jakub Roztocil
573a02148e Move HTTP version options validation to the CLI layer 2024-10-26 21:11:34 +02:00
Ahmed TAHRI
2ea86b2623 add delayed annot loading in ports.py 2024-10-26 20:34:10 +02:00
Jakub Roztocil
7bd3af2494 Fix test 2024-10-26 19:50:44 +02:00
Jakub Roztocil
b58d001177 Cleanup 2024-10-26 19:45:16 +02:00
Jakub Roztocil
65e44228be Move IP version options validation to the CLI layer 2024-10-26 19:22:52 +02:00
Jakub Roztocil
191824ce30 Fix occasional failures for tests dealing with binary bodies 2024-10-26 19:17:48 +02:00
Jakub Roztocil
4cea2e80af Move port and interface validation to the CLI layer 2024-10-26 18:55:26 +02:00
Jakub Roztocil
0eab08a655 Refactor niquests enforcement to compat.enforce_niquests() 2024-10-26 14:11:55 +02:00
Jakub Roztocil
a367a55173 Deduplicate downloader clean-up logic 2024-10-26 13:45:06 +02:00
Ahmed TAHRI
e375c259e8 improve error messages upon invalid args/values in new flags 2024-10-22 18:33:29 +02:00
Ahmed TAHRI
da6cc13b8b unpin werkzeug, allow <4
fix https://github.com/httpie/cli/issues/1530
2024-10-16 08:19:42 +02:00
Ahmed TAHRI
5e87d1b057 update test_network.py 2024-10-15 09:52:13 +02:00
Ahmed TAHRI
7a1c3419ef update man pages 2024-10-15 09:49:51 +02:00
Ahmed TAHRI
dd60adb0c6 ensure all plugins are migrated to Niquests prior to importing them 2024-10-15 09:45:43 +02:00
Ahmed TAHRI
7537b40bfc add support for happy eyeballs 2024-10-15 09:45:05 +02:00
Ahmed TAHRI
2ac67d59ff fix unclosed file in case of failed download 2024-10-15 09:44:37 +02:00
Ahmed TAHRI
f6f6619140 fix test when http3 support is unavailable (windows+py3.7) 2024-10-13 20:41:56 +02:00
Ahmed TAHRI
46ca048a3a add note on changed test_h3_not_compatible_anymore 2024-10-13 20:32:40 +02:00
Ahmed TAHRI
7f5c8a10e6 fix test_h3_not_compatible_anymore as niquests automatically downgrade in case of failure 2024-10-13 20:17:09 +02:00
Ahmed TAHRI
03bac4d848 use ubuntu-22.04 to preserve python 3.7 and add python 3.13 in tests 2024-10-13 20:10:27 +02:00
Ahmed TAHRI
1379a2e281 add support for early responses 1xx (informational) 2024-10-13 20:09:35 +02:00
Jakub Roztocil
2e3617ecdb Merge branch 'refs/heads/master' into feature-tryout-niquests
# Conflicts:
#	CHANGELOG.md
#	extras/man/http.1
#	extras/man/httpie.1
#	extras/man/https.1
#	httpie/__init__.py
#	setup.cfg
2024-07-10 16:51:24 +02:00
Jakub Roztocil
f4cf43ecdd Cleanup 2024-07-10 16:24:03 +02:00
Jakub Roztocil
7f03c52d22 Fix SSL connections by pinning the requests version to 2.31.0
Close #1583
Close #1581
2024-07-10 16:20:38 +02:00
Ahmed TAHRI
55aea9cce5 fixed+enabled recently disabled tests for download + compressed bodies 2024-06-28 15:50:07 +01:00
Ahmed TAHRI
d02b88254d update docs for protocol negotiation and gen man 2024-06-26 16:09:58 +01:00
Ahmed TAHRI
f989e5ecad support for force http2, http1 or http3 and fix real download speed when body is compressed 2024-06-24 23:56:29 +01:00
Jakub Roztocil
f7cbd64eb8 Fix 2024-06-14 16:33:00 +02:00
Jakub Roztocil
5dedead64b Fix 2024-06-14 14:08:06 +02:00
Jakub Roztocil
121cba1623 Clean 2024-06-14 13:36:26 +02:00
Jakub Roztocil
540d3f3230 Decoded downloads: refactor, add decoded size notice, tests, etc.
Related to #423
2024-06-14 13:30:48 +02:00
Jakub Roztocil
128d9528bd
Update CHANGELOG.md
Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
2024-06-06 06:09:07 -07:00
Jakub Roztocil
77bbf8cad4
Update CHANGELOG.md
Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
2024-06-06 06:08:55 -07:00
Jakub Roztocil
bb3583ceac Clean 2024-06-06 11:23:09 +02:00
Jakub Roztocil
b3f9e01af9 Tests 2024-06-06 11:20:09 +02:00
Jakub Roztocil
474766964b Cleanup imports 2024-06-03 14:38:12 +02:00
Jakub Roztocil
d238725106 Add cd_clean_tmp_dir() test utility context manager 2024-06-03 14:35:54 +02:00
Jakub Roztocil
78aa25d51a Docs wip 2024-06-03 13:49:51 +02:00
Ahmed TAHRI
e3cbc7ff28 improve support --ssl=[...] setting 2024-05-26 11:11:40 +02:00
Ahmed TAHRI
d200787092 Merge branch 'feature-tryout-niquests' of github.com:Ousret/httpie into feature-tryout-niquests 2024-05-26 05:52:26 +02:00
Ahmed TAHRI
523faa674d adjust docs around tls version cli command 2024-05-26 05:52:01 +02:00
Jakub Roztocil
2583671e03 Changelog tweaks 2024-05-24 18:32:46 +02:00
Ahmed TAHRI
ec02b1c74e add support for resolving ".localhost" domains
close https://github.com/httpie/cli/issues/1458
2024-05-24 06:49:11 +02:00
Ahmed TAHRI
d9db5a2b32 fix downloader with compressed content #1554 #423 2024-05-23 06:13:03 +02:00
Ahmed TAHRI
71ab43e5cb fix test_secure_cookies_on_localhost case
non https server were expected to receive "secure" cookies...? this seems to be a bug that lied in Requests for quite some time.
2024-05-22 07:56:45 +02:00
Jakub Roztocil
007234ff53 Tweak 2024-05-20 17:21:57 +02:00
Ahmed TAHRI
6c55c94cf3 downgrade macos-14 to macos-13 due to missing brotlicffi->cffi wheels 2024-04-24 08:11:11 +02:00
Ahmed TAHRI
4ae49f1813 add section for protocol combinations and http/3 support note 2024-04-24 08:06:04 +02:00
Ahmed TAHRI
eb93eabac9 fix infinite loop update checker in a specific condition
close issue https://github.com/httpie/cli/issues/1527
2024-04-05 06:55:24 +02:00
Ahmed TAHRI
c859191480 add note for why 'Host' header cannot be unset 2024-04-04 08:41:36 +02:00