Fabrice Reix
bb7cf25a57
Fix key-string parser
2022-12-10 22:52:54 +01:00
jcamiel
00006eab74
Support new one line string format.
2022-12-08 13:15:32 +01:00
Luke Mondy
db486f9695
Add htmlEscape and htmlUnescape filters
...
These filters use the html_escape crate (inspired by the use of the percent_encoding crate) to escape and unescape html.
2022-12-07 08:17:21 +11:00
jcamiel
2841a9459b
Change struct Bytes with tupple instead of anonymous struct.
2022-12-06 14:56:01 +01:00
jcamiel
0ab9fedafa
Change Template struct using delimiter: Option<char> field instead of quotes: bool.
2022-12-05 13:12:28 +01:00
Fabrice Reix
ffd31a271c
Add toInt filter
2022-12-03 12:16:24 +01:00
Fabrice Reix
3eaa74ce11
Fix Parsing / compliant with grammar
2022-12-01 14:50:55 +01:00
jcamiel
44f43bcf73
Add support for LINK, UNLINK, PURGE, LOCK, UNLOCK, PROPFIND and VIEW HTTP method
2022-11-30 18:28:11 +01:00
jcamiel
589c4c20c3
Update 1.9.0-SNAPSHOT to 2.0.0 due to major breaking change.
2022-11-29 15:51:29 +01:00
Tim Bart
04ebc958c6
This PR adds support for configuring the client cert and private key for establishing a mutual TLS connection to a server.
...
Example:
```
GET https://localhost:8443/
[Options]
cacert: out/HurlCA.crt
cert: out/client.crt
key: out/client.key
HTTP 200
```
outputs:
```
Request can be run with the following curl command:
* curl 'https://localhost:8443/ ' --cacert out/HurlCA.crt --cert out/client.crt --key out/client.key
```
2022-11-28 20:33:05 -08:00
jcamiel
ed3217c41f
Add support for GraphQL variables.
2022-11-25 11:34:03 +01:00
jcamiel
2242c8ba0d
Rename TextOneLine to OneLineText.
2022-11-24 15:10:13 +01:00
jcamiel
a0f7d3e278
Use real type Value instead of public alias JsonValue in implementation.
2022-11-24 13:37:05 +01:00
jcamiel
65350a71bb
Add GraphQL simple query support.
...
We add GraphQL query support. For the moment, variables are not supported.
2022-11-23 14:52:34 +01:00
jcamiel
80fb0fd5b3
Delete raw string wording everywhere.
2022-11-18 15:30:56 +01:00
jcamiel
3b3483a997
Add lang identifier to multiline.
2022-11-18 00:20:53 +01:00
jcamiel
a34480120e
Change choice parser function signature to take a slice as argument.
...
With a slice as argument, we can use a vec or an array. In Hurl code, we use choice with array only.
We also change the implementation to remove the recursive call (and unncessary clone)
2022-11-15 14:03:13 +01:00
jcamiel
4e41799623
Use HTTP instead of HTTP/* for any HTTP version match
2022-11-10 22:29:21 +01:00
GitHub Action
e455ebd685
Update hurl version to 1.9.0-SNAPSHOT
2022-11-07 13:11:48 +00:00
GitHub Action
1930fcf62b
Create 1.8.0 release
2022-11-07 12:39:14 +00:00
GitHub Action
802391d7ee
Update crates
2022-11-05 18:04:45 +00:00
Fabrice Reix
67d48bde22
Add filters urlEncode/urlDecode
2022-11-02 17:07:00 +01:00
Fabrice Reix
2653401819
Fix missing line in HTML output
2022-11-01 19:02:00 +01:00
jcamiel
f25c6b9129
Delete subquery dead code.
2022-10-31 11:04:49 +01:00
Fabrice Reix
8666229edf
Move filters outside query
2022-10-28 08:04:16 +02:00
Fabrice Reix
75f1d111d4
Add/Check copyright in source files
2022-10-25 15:55:53 +02:00
Fabrice Reix
89f4c123cd
Replace Subquery by Filter
2022-10-25 08:50:22 +02:00
jcamiel
debbeb250e
Add retry-max-count request option.
2022-10-20 13:06:27 +02:00
jcamiel
9e6f5088c6
Add retry-interval request option.
2022-10-20 13:06:27 +02:00
jcamiel
cec84ca811
Add retry request option.
2022-10-20 13:06:27 +02:00
Fabrice Reix
b912a6f06c
Add url query
2022-10-16 09:59:08 +02:00
Kian-Meng Ang
3a5ff7dcb2
Fix typos
...
Found via `codespell -S contrib,target -L crate,asser,te,pleas`
2022-10-01 18:48:18 +08:00
Fabrice Reix
0e3d1a3dc8
Update version to SNAPSHOT
2022-09-22 16:35:48 +02:00
Fabrice Reix
fce9e9daf7
Update version to 1.7.0
2022-09-15 12:56:36 +02:00
jcamiel
5d4d41a559
Be more restrictive on first char for url parsing.
2022-09-12 16:42:40 +02:00
jcamiel
c1684f60b3
Add support for strings comparison.
2022-09-09 16:54:28 +02:00
jcamiel
29babc8ebb
Hunts clones.
2022-09-08 22:34:59 +02:00
Fabrice Reix
cc820c6190
Accept expression in comparison predicate
2022-09-07 08:39:28 +02:00
Fabrice Reix
59d32dc46d
Add option variable in Hurl file
2022-09-06 13:53:15 +02:00
jcamiel
96ef0c7228
Add --compressed entry option.
2022-08-18 20:28:08 +02:00
jcamiel
6fc568a6f0
Rename init to new to be more conventionnal.
2022-08-17 09:24:30 +02:00
jcamiel
2a002f81a6
Add max-redirs entry option.
2022-08-16 12:09:33 +02:00
jcamiel
a2d3f87640
Add follow location entry option.
2022-08-16 10:20:25 +02:00
jcamiel
b08de3a19b
Add very-verbose entry option.
2022-08-15 18:01:35 +02:00
jcamiel
633500ebbd
Add verbose entry option.
2022-08-14 18:37:10 +02:00
jcamiel
aae808b0b0
Add support for cacert entry option.
2022-08-12 17:42:24 +02:00
jcamiel
b14e5bc31e
Parse option section.
2022-08-12 16:18:55 +02:00
jcamiel
2d0a6bc755
Update clippy for rust 1.63.0.
2022-08-11 19:55:24 +02:00
jcamiel
2698987cf5
Hunt clones and uses references as possible.
2022-08-10 21:13:16 +02:00
jcamiel
7f561566dc
Normalize acronym case in errors.
2022-08-08 18:42:57 +02:00