265 Commits

Author SHA1 Message Date
Jan Verbeek
f8ea57bb95 Improve HTTPS + IP error message, refactor Cli/RequestItems 2021-08-05 17:38:05 +02:00
Jan Verbeek
7d8020a047 Include binary name in warnings and errors 2021-08-05 17:31:11 +02:00
Jan Verbeek
3c396b524b Send and display headers as title case
Resolves #166.
2021-08-04 20:31:49 +02:00
ducaale
ea0747d600 Merge branch 'sessions' into all-flag 2021-08-03 01:24:25 +03:00
ducaale
b6de2a327a Merge branch 'develop' into sessions 2021-08-03 01:23:06 +03:00
ducaale
97bd685e14 test that config errors don't effect the exit code 2021-08-02 20:35:55 +03:00
ducaale
aee1a42ddc test if args from config.json are overridden 2021-08-02 20:33:36 +03:00
ducaale
f85c2cdc8b add tests for reading args from config 2021-08-02 20:29:33 +03:00
ducaale
0d761a185b fix failed tests 2021-07-25 16:31:03 +03:00
ducaale
592f87cb84 Merge branch 'sessions' into all-flag 2021-07-24 19:54:58 +03:00
ducaale
158e56f63b Merge branch 'develop' into sessions 2021-07-24 19:35:14 +03:00
Jan Verbeek
f75a23c284 Add test for file upload with parameters 2021-07-20 22:19:03 +02:00
ducaale
17fb3aa12e point xh_config_dir to config_dir/xh 2021-07-01 16:28:52 +03:00
ducaale
022c19ffe4 replace XH_TEST_CONFIG_DIR with XH_CONFIG_DIR 2021-06-26 02:21:16 +03:00
ducaale
f556e2feef fix tests + clippy errors 2021-06-25 23:41:51 +03:00
ducaale
200f509506 Merge branch 'develop' into sessions 2021-06-25 23:35:10 +03:00
ducaale
db66c59d96 save --auth & --bearer into the auth section 2021-06-25 23:23:51 +03:00
ducaale
6a1352cf0b replace find().is_some() with any() 2021-06-25 17:41:32 +03:00
ducaale
7f22e77db4 test sent cookies when there are multiple sources 2021-06-25 17:33:17 +03:00
Mohamed Daahir
4912414e54
remove unnecessary pub
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
2021-06-24 15:46:38 +03:00
ducaale
ace2c92ff0 enable reqwest's deflate feature
also updates accept-encoding to match HTTPie's
2021-06-22 17:04:31 +03:00
ducaale
28d7e5a0a1 support httpie's history_print flag 2021-06-18 22:30:00 +03:00
ducaale
86890887f4 Merge branch 'sessions' into all-flag 2021-06-15 16:00:13 +03:00
ducaale
1b02e89aab Merge branch 'develop' into sessions 2021-06-15 15:45:48 +03:00
ducaale
8a44c7a275 test check-status and httpie_compat_mode 2021-06-12 15:32:36 +03:00
ducaale
117821192b Merge branch 'sessions' into all-flag 2021-05-14 14:52:09 +01:00
ducaale
62ad4c53b1 Merge branch 'develop' into sessions 2021-05-14 14:50:29 +01:00
ducaale
2641b174f4 enforce identity for accept-encoding if -d in use 2021-05-14 14:30:19 +01:00
ducaale
f32011482c buffer request body before following redirects 2021-05-14 12:26:01 +01:00
ducaale
123e192ee9 test redirect behaviour for non-cloneable bodies 2021-05-13 23:19:11 +01:00
ducaale
d390f9f457 test removal of content-headers in 302 redirects 2021-05-13 22:28:41 +01:00
ducaale
ed0f0a1dba test removal of sensitive headers 2021-05-13 22:25:02 +01:00
ducaale
0db15f16e0 test method and body behaviour when redirecting 2021-05-13 17:08:04 +01:00
ducaale
efe5617568 add test for max-redirects 2021-05-13 16:25:19 +01:00
ducaale
f98fa02c18 add a basic test for the all flag 2021-05-12 22:36:45 +01:00
ducaale
0ba627de4a Merge branch 'develop' into sessions 2021-05-12 21:48:46 +01:00
Jan Verbeek
149de19d23 Print streamed request bodies 2021-05-12 20:30:49 +02:00
ducaale
bf9d26db0b Merge branch 'develop' into sessions 2021-05-12 19:17:19 +01:00
Jan Verbeek
38de30bd82 Support reading request body from file 2021-05-09 18:57:37 +02:00
ducaale
37ad4f4950 use dir created by tempfile as config_dir in tests 2021-05-09 01:11:39 +01:00
ducaale
abec244ea4 test that session files are created in read only mode 2021-05-08 20:05:11 +01:00
ducaale
e639de523f add test for read_only_sessions 2021-05-08 19:38:55 +01:00
ducaale
abf69865e4 add test for generated download filenames 2021-05-08 15:37:49 +01:00
ducaale
9fb4ea9c87 Merge branch 'develop' into sessions 2021-05-02 17:32:12 +01:00
ducaale
5382fd2c2f add test for cookie storage behaviour 2021-05-02 16:50:02 +01:00
ducaale
a6b326eec7 fix failing test 2021-05-02 14:11:00 +01:00
ducaale
ecf137e8d1 replace connect_timeout with timeout 2021-04-28 19:27:35 +01:00
ducaale
9a34926d82 add test for cookie removal from session 2021-04-25 17:17:24 +01:00
ducaale
ffdd9e9ce2 use temp as config_dir in tests 2021-04-24 23:42:38 +01:00
Shun Sakai
6b9c4ca35e Add the timeout flag 2021-04-23 19:16:00 +09:00