174 Commits

Author SHA1 Message Date
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
ducaale
63bb5053e2 fix failing tests 2021-04-22 22:48:59 +01:00
ducaale
423d9d7679 Merge branch 'develop' into sessions 2021-04-22 22:45:15 +01:00
ducaale
6975482d83 test named sessions 2021-04-22 22:33:32 +01:00
ducaale
3c7943b1d2 test anonymous sessions 2021-04-22 22:24:23 +01:00
Shun Sakai
0de73425ea Change value of Accept-Encoding
Add br and remove deflate.
2021-04-20 23:46:39 +09:00
ducaale
5e5742e16d allow setting unset headers 2021-04-17 15:35:47 +01:00
ducaale
6769e6fc82 attach anyhow context to session errors 2021-04-11 19:28:15 +01:00
ducaale
1826571c2f test unsetting headers 2021-04-11 16:09:44 +01:00
ducaale
3e514ffaee add integration tests 2021-03-29 21:09:52 +01:00
ducaale
c3d20fa5f4 add test for for json keys order 2021-03-21 14:57:52 +00:00
Jan Verbeek
e35c2a88c3 Add more buffering and make piped output more consistent with HTTPie 2021-03-21 14:34:23 +01:00
Jan Verbeek
dd0d4d8257 Separate JSON records with double newline 2021-03-18 19:42:10 +01:00
Jan Verbeek
2c62b428b6 Slight directness and consistency improvements 2021-03-16 09:22:10 +01:00
Jan Verbeek
36a0d05d4b Add coloring tests 2021-03-15 22:37:13 +01:00
David Harks
901ef7b73b :man-facepalming: it's "windows", not "win" 2021-03-07 16:23:24 -06:00
David Harks
8aa6e24cae Support mocking home_dir() on Windows 2021-03-07 12:43:48 -06:00
David Harks
fece986e89 Further minor tweaks 2021-03-07 11:31:30 -06:00
David Harks
cbfbf5ded0 Tweaks and additional tests 2021-03-07 11:24:53 -06:00
David Harks
ed27e9f3d0 Fmt 2021-03-06 23:15:22 -06:00
David Harks
04d5d5556f Add test for netrc functionality 2021-03-06 23:13:30 -06:00
David Harks
0a36ca886e Address review feedback 2021-03-06 22:32:45 -06:00
Jan Verbeek
06b88df673 Do not format invalid JSON, highlight CSS & JS 2021-03-01 14:37:47 +01:00
Jan Verbeek
0e1c5a06f2 Use application/json by default for a raw body from stdin 2021-03-01 14:12:43 +01:00
Jan Verbeek
85687cbb96 Use static OpenSSL for tests 2021-02-27 16:05:36 +01:00
Jan Verbeek
7a8722027c Fix incorrect test comment 2021-02-25 10:25:24 +01:00
Jan Verbeek
eb9441671c Improve error message for raw multipart body 2021-02-25 10:25:05 +01:00
Jan Verbeek
bff656f962 Try to detect undeclared JSON response bodies 2021-02-23 22:17:13 +01:00
Jan Verbeek
1caf80b802 Make --json/--form/--multipart override each other and force content-type 2021-02-23 21:47:10 +01:00
Jan Verbeek
62d12e1482 Refactor request construction, print binary suppressor for request 2021-02-20 21:34:43 +01:00
Jan Verbeek
ba0aecc86e Revise binary data detection mechanism 2021-02-20 17:47:33 +01:00
Jan Verbeek
814c5dbb2f Merge remote-tracking branch 'origin/develop' into remove-async 2021-02-20 00:14:18 +01:00
jihchi
c821a05f9d Merge branch 'develop' into add_supports_for_https_relevant 2021-02-19 08:21:36 +08:00
Jan Verbeek
5f907b9ce4 Merge remote-tracking branch 'origin/develop' into remove-async 2021-02-17 21:36:33 +01:00
Jan Verbeek
b2bc423e14 Add warning to --check-status 2021-02-17 20:59:42 +01:00
Jan Verbeek
2cb29d4ea2 Run tests as if they're in the terminal 2021-02-17 20:56:43 +01:00
Jan Verbeek
43bac3ad00 Allow formatting and color without terminal, fix tests after rebase 2021-02-17 20:56:43 +01:00
Jan Verbeek
849dc15642 Remove use of async
This also

- Reworks the printing system, making binary data detection and
  trailing newlines more consistent

- Removes some obsolete dependencies from Cargo.toml
2021-02-17 20:56:40 +01:00
jihchi
644b9b18b9 Make test assertions better (rest of test cases) 2021-02-17 22:48:33 +08:00
Jihchi Lee
102ca44871
Make test assertions better
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
2021-02-17 22:38:13 +08:00
jihchi
8000be0417 Remove unnecessary returning type in --verify and --cert/--cery-key tests 2021-02-17 22:32:51 +08:00
jihchi
0e3ce6e11d Merge branch 'develop' into add_supports_for_https_relevant 2021-02-17 08:57:24 +08:00