Commit Graph

244 Commits

Author SHA1 Message Date
robozati
21235c655e
Add SourceInfo to Comment 2023-10-23 22:07:32 +00:00
Fabrice Reix
ada42acb32
Add option skip 2023-10-21 11:04:01 +02:00
Fabrice Reix
58b249ffa1
Support template in option values 2023-10-19 14:42:50 +00:00
jcamiel
662c550eb8
Add --ipv4/--ipv6 option 2023-10-18 14:37:42 +00:00
Fabrice Reix
b3e72f900b
Extract option parser in its own module 2023-10-17 10:53:24 +02:00
hurl-bot
03ee2840db
Update crates 2023-10-17 03:01:54 +00:00
hurl-bot
efadd8d858
Update crates 2023-10-14 20:26:20 +00:00
hurl-bot
3d79234674
Update crates 2023-10-10 03:01:48 +00:00
jcamiel
1986c0ca13
Add --http3 option. 2023-10-08 17:25:00 +02:00
jcamiel
b4e53f1489
Add --http2 option. 2023-10-08 14:38:35 +00:00
Fabrice Reix
aeca943cf7
Support template in keys 2023-10-06 10:18:52 +02:00
jcamiel
9623b76409
Add http1.1 per request option. 2023-10-04 14:42:47 +02:00
jcamiel
17ec6c8b1a
Add --http1.0 per request option. 2023-10-03 12:58:11 +02:00
jcamiel
67eee892fb
Credits all hard work maintainers. 2023-10-02 10:27:26 +02:00
hurl-bot
f30f559ad0
Update crates 2023-10-01 03:02:12 +00:00
jcamiel
cf5d404fa3
Remove strict feature from Cargo toml.
See bdd4ff7b14
2023-09-30 10:03:11 +00:00
Josh Soref
8d9291ac64
reword url ParseResult comment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:08:15 +02:00
Josh Soref
554f6b7206
spelling: parser
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:08:14 +02:00
hurl-bot
6870aaa5f5
Update hurl version to 4.2.0-SNAPSHOT 2023-09-21 12:08:40 +00:00
hurl-bot
b12b761921
Create 4.1.0 release 2023-09-21 10:56:10 +00:00
jcamiel
f82ed05d9a
Refacto for XML parsing.
Previously, the parser was rather raw: we processed the buffer bytes by bytes, checking if the buffer was a valid XML file.
Now, we use libxml SAX parser to detect the end of the XML.
2023-09-12 12:15:35 +00:00
jcamiel
b457ea8f30
Remove static lifetimes from parsing functions. 2023-09-08 15:43:34 +02:00
jcamiel
30657d84a9
Add more tests units on XML parser. 2023-09-08 13:50:57 +02:00
jcamiel
c2342b90cb
Use operator for equals predicate in tests. 2023-09-08 11:12:09 +02:00
hurl-bot
7d8cc1edac
Update crates 2023-09-04 03:02:09 +00:00
Fabrice Reix
da233dbd7a
Fix clippy warnings 2023-08-31 11:36:52 +02:00
hurl-bot
7aaf70ddac
Update crates 2023-08-29 03:02:38 +00:00
Philipp Paulweber
bcaf19f842
Parser: support 'delay' options to define milliseconds request delays 2023-08-27 16:15:37 +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
Fabrice Reix
cae200a77c
Support IPv4/IPv6 address for proxy option 2023-08-12 18:01:43 +02:00
Fabrice Reix
73759aa84b
Add clippy check manual_string_new 2023-08-08 15:59:20 +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
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
Fabrice Reix
06c8da4d14
Fix Cookie Query Parsing error 2023-07-31 17:17:56 +02:00
jcamiel
975fd95810
Delete countEquals predicate. 2023-07-27 14:37:33 +02:00
jcamiel
5f6879e779
Refacto on function eval_predicate_func by splitting into multiple functions. 2023-07-25 11:33:42 +02:00
jcamiel
7076961308
Add connect-to per request option. 2023-07-15 13:38:35 +00:00
jcamiel
0efaacc12d
Refacto on request options. 2023-07-13 06:15:50 +00:00
Guilherme Puida
e782ac286b
Implement isDate predicate
This mirrors the implementation of `isFloat/isInteger/...`.
2023-07-11 13:31:58 +02:00
hurl-bot
2d92541148
Update crates 2023-07-08 03:13:10 +00:00
jcamiel
1463c02d05
Add support for --resolve option per request 2023-07-06 17:21:37 +02:00
jcamiel
264c6f290b
Make URLs strictier: must begins with http://, https:// or {{. 2023-07-05 18:28:32 +00:00
hurl-bot
a57d585da0
Update crates 2023-07-05 12:47:56 +00:00
jcamiel
0f1a9f80fb
Update to 4.1.0-SNAPSHOT. 2023-06-29 16:05:31 +02:00
hurl-bot
3cad4e38b4
Create 4.0.0 release 2023-06-28 18:37:30 +00:00
Fabrice Reix
fd8cac04d6
Export [Options] to JSON 2023-06-24 11:34:57 +00:00
Tim Eggert
34137c0e0d
feat: introduce curl --path-as-is option 2023-06-22 10:02:06 +02:00