jcamiel
53d174588c
Add --output option per request
2023-11-30 16:59:24 +01:00
Fabrice Reix
2e01a79ceb
Split number parsers to its own module
2023-11-30 16:06:11 +01:00
Fabrice Reix
478f1a7555
Support String (Big) Number in Hurl file
2023-11-30 11:02:49 +01:00
jcamiel
9fc9bee091
Optimize some clone() calls.
2023-11-28 09:49:46 +01:00
jcamiel
a8e7fe92ba
Create new on SourceInfo and Pos.
2023-11-27 16:42:33 +01:00
Fabrice Reix
3752fe4323
Sort Variants
2023-11-27 08:13:17 +01:00
jcamiel
5d8628662d
Sort core ParseError variant.
2023-11-24 18:16:11 +01:00
jcamiel
4fbbb6d683
Implement Copy for ReaderState.
2023-11-24 17:59:17 +01:00
jcamiel
bf8deaf1cd
Add documentation for XML parser (why we use a SAX parser etc...)
2023-11-24 17:26:41 +01:00
jcamiel
5f79ddb5e0
Implement copy for SourceInfo
and Pos
.
2023-11-24 14:14:12 +01:00
jcamiel
264c156565
Fix XML parsing: use SAX2 start/endElementNs instead of SAX1 start/endElement
2023-11-20 16:26:28 +01:00
jcamiel
a525aeb81f
Sort import.
...
Run cargo +nightly fmt with rsutfm.toml uncommented.
2023-11-16 06:48:16 +01:00
Fabrice Reix
f280332875
Add Number in AST/PredicateValue
2023-11-12 12:27:28 +01:00
Fabrice Reix
74edc18bd2
Add jsonpath filter
2023-11-08 15:18:52 +01:00
robozati
97a02f3990
Update the JSON parser to account for fabricereix changes
2023-11-02 08:59:45 +00:00
robozati
e0d9bb929e
Change ParserError::Json
to use a JsonErrorVariant
enum and add a
...
new check to account for unresolved names
2023-11-02 08:59:44 +00:00
robozati
678aaca9f3
Improve JSON body parsing error reporting
...
Adds more checks to account for empty elements, commas after the last
element that shouldn't be there and braces not closed.
2023-11-02 08:59:43 +00:00
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