Commit Graph

831 Commits

Author SHA1 Message Date
Fabrice Reix
da233dbd7a
Fix clippy warnings 2023-08-31 11:36:52 +02:00
Fabrice Reix
1ddda4c86b
Update Rust to 1.72 2023-08-31 11:27:36 +02:00
hurl-bot
a1ddd2f82b
Update crates 2023-08-31 03:01:55 +00:00
hurl-bot
7aaf70ddac
Update crates 2023-08-29 03:02:38 +00:00
Philipp Paulweber
66d0daf4a2
Formatter: fixed missing delayy option kind 2023-08-27 16:15:37 +02:00
Philipp Paulweber
902652421d
Runner: provided request delay logic 2023-08-27 16:15:37 +02:00
Philipp Paulweber
bcaf19f842
Parser: support 'delay' options to define milliseconds request delays 2023-08-27 16:15:37 +02:00
apparentorder
7e476a44ae
Update crates (again) 2023-08-26 07:24:57 +02:00
apparentorder
12f8bcd5ea
Update crates (again) 2023-08-25 21:27:06 +02:00
apparentorder
e5a6a3a0ae
Update crates 2023-08-25 07:52:33 +02:00
apparentorder
1b7ae46360
fix formatting 2023-08-24 15:24:45 +02:00
apparentorder
78a45f1f33
when setting aws_sigv4, explicitly check for and report "unknown option" from libcurl 2023-08-24 15:18:54 +02:00
apparentorder
c1063f8d19
introduce HttpError::LibcurlUnknownOption to report unsupported libcurl options 2023-08-24 15:18:53 +02:00
apparentorder
56d4fa4485
Add the aws-sigv4 option to generate AWS SigV4 signed requests
AWS SigV4 support is available in curl since 7.75.0 (December 2020).

Add the necessary bits for Hurl to understand this option and pass
it on to libcurl, both as a command line option `--aws-sigv4` and
as a per-request option `aws-sigv4` in Hurlfiles.

Do not emit `Authorization: Basic` when aws-sigv4 is used, as this
would take priority over the `Authorization` header generated by libcurl.
Instead, explicitly set `username` and `password` options.

Suppress removal of the `Expect:` header when using aws-sigv4, as a
workaround for curl/curl#11664.

Add a corresponding integration test.
2023-08-24 15:18:53 +02:00
apparentorder
58c4e0534f
allow alphanumeric instead of alphabetic in option() parsing
This change allows option names to contain digits, like in `aws-sigv4`.
2023-08-24 15:18:53 +02:00
hurl-bot
591e129469
Update crates 2023-08-18 12:21:50 +00:00
hurl-bot
cff89d91e2
Update crates 2023-08-17 11:44:38 +00:00
Fabrice Reix
cae200a77c
Support IPv4/IPv6 address for proxy option 2023-08-12 18:01:43 +02:00
Fabrice Reix
97ceb24e8b
Replace fail-at-end option with continue-on-error option 2023-08-12 08:20:17 +02:00
Fabrice Reix
4b83f77fa9
Fix standalone option for hurlfmt HTML output 2023-08-11 14:25:50 +02:00
jcamiel
17ae56d6db
Tweak http mod visibility. 2023-08-10 15:24:37 +02:00
jcamiel
a454a81cdd
Replace unwrap with ?.
We have implement conversion from curl::Error to hurl::HttpError so it's better to use `?` instead of unwrapping. It allow a better error managment, without crashing Hurl.
The format of the file has been changed but there is no code modification appart from `unwrap` to `?`.
2023-08-10 06:23:32 +00:00
Fabrice Reix
73759aa84b
Add clippy check manual_string_new 2023-08-08 15:59:20 +00:00
hurl-bot
b17f79af36
Update crates 2023-08-08 03:01:40 +00:00
hurl-bot
67351c9925
Update crates 2023-08-07 03:02:03 +00:00
hurl-bot
ab112204e7
Update crates 2023-08-06 03:01:53 +00:00
Fabrice Reix
bd2c886f25
Support empty BasicAuth section 2023-08-05 09:35:19 +02:00
jcamiel
54ba8dee22
Update tutorial with Movies Box. 2023-08-04 16:59:14 +02:00
hurl-bot
88e748b787
Update crates 2023-08-04 03:01:36 +00:00
jcamiel
bdd4ff7b14
Remove strict features flag (in favor of clippy check). 2023-08-03 18:21:33 +02:00
jcamiel
4072ea2c8a
Remove unnecessary empty structs. 2023-08-03 14:08:08 +02:00
hurl-bot
3a0795b4bc
Update crates 2023-08-03 03:01:44 +00:00
hurl-bot
f7d28c98e2
Update crates 2023-08-02 03:01:47 +00:00
hurl-bot
7aa3d0ed55
Update crates 2023-08-01 03:01:44 +00:00
Fabrice Reix
06c8da4d14
Fix Cookie Query Parsing error 2023-07-31 17:17:56 +02:00
hurl-bot
b2f9e35db8
Update crates 2023-07-31 03:01:50 +00:00
hurl-bot
953fe8b352
Update crates 2023-07-29 03:01:37 +00:00
hurl-bot
3a0fad3c40
Update crates 2023-07-28 03:01:42 +00:00
jcamiel
975fd95810
Delete countEquals predicate. 2023-07-27 14:37:33 +02:00
hurl-bot
128134fe3b
Update crates 2023-07-27 03:01:41 +00:00
jcamiel
8a47c81b1a
Add more tests on assert errors. 2023-07-26 04:54:20 +00:00
hurl-bot
e5de0807e0
Update crates 2023-07-26 03:01:48 +00:00
jcamiel
05567f65ff
Fix typo. 2023-07-25 15:37:03 +02:00
jcamiel
967f8b9e3e
Fix isEmpty predicates for objects. 2023-07-25 14:03:49 +02:00
jcamiel
5f6879e779
Refacto on function eval_predicate_func by splitting into multiple functions. 2023-07-25 11:33:42 +02:00
hurl-bot
4b821f6c7b
Update crates 2023-07-25 03:01:50 +00:00
jcamiel
73ba56c735
Add non-default vendored-openssl feature flag. 2023-07-23 19:46:50 +00:00
hurl-bot
71f72f9c11
Update crates 2023-07-22 03:01:40 +00:00
jcamiel
30d241c1dd
Cosmetic update to the documentation. 2023-07-21 16:25:32 +02:00
hurl-bot
4e21b6e19e
Update crates 2023-07-21 13:47:31 +00:00