Commit Graph

131 Commits

Author SHA1 Message Date
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
jcamiel
d5824a2bb0
Remove unnecessary prefix. 2022-08-01 17:15:08 +02:00
jcamiel
59a3e24c40
Rationalize log functions usages. 2022-08-01 15:19:09 +02:00
Fabrice Reix
487ab2ef53
Fix clippy is_digit_ascii_radix 2022-06-30 22:04:14 +02:00
Fabrice Reix
de79388be5 Support regex literal in query/subquery 2022-06-24 11:42:06 +02:00
Fabrice Reix
e239891ffc Use Template type for cookie value 2022-06-12 21:35:12 +02:00
Fabrice Reix
19a4a6042b Support @ for the username in [BasicAuth] section 2022-03-23 07:39:53 +01:00
Fabrice Reix
ce66121d03 Allow different types in JSON array 2022-03-10 15:54:40 +01:00
jcamiel
349097ffb3 Fix clippy 1.59 warnings.
Mainly https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern.
2022-02-25 08:17:53 +01:00
Fabrice Reix
c8eebcfd7b Add additional characters in cookie value 2022-02-09 15:38:23 +01:00
jcamiel
fc661c6f68 Fix unit test. 2022-02-05 17:30:10 +01:00
jcamiel
0177dc1b43 Check that data file is a child of user provided context dir. 2022-02-05 17:30:10 +01:00
Fabrice Reix
b83bbf67ed Add Regex predicate value 2022-01-29 15:59:55 +01:00
Fabrice Reix
c0b1acb5eb Add square brackets in key-string 2022-01-25 17:14:07 +01:00
jcamiel
d90c891e47 Fix new clippy warnings on 1.58.
Mainly unnecessary calls to to_string on types that implements Display traits <https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args>.
2022-01-14 14:22:36 +01:00
jcamiel
a3a500baae Update copyright for 2022 2022-01-12 17:14:40 +01:00
Fabrice Reix
82894a8a1a Add BasicAuth section 2021-12-17 08:14:40 +01:00
Fabrice Reix
165e79054e Report error on missing closing quote for quoted String 2021-12-10 09:01:47 +01:00
jcamiel
ff817a45da Delete extern crate import. 2021-12-07 15:36:04 +01:00
Fabrice Reix
1154ea2e50 Fix clippy error redundant_closure 2021-12-02 21:00:53 +01:00
Fabrice Reix
af6b60eec1 Using Floating-point for the Float Value 2021-11-21 21:51:09 +01:00
Fabrice Reix
21a2de42f0 Escape space in filename 2021-10-29 18:40:18 +02:00
Fabrice Reix
5fdd8b93ac Add Unit Test 2021-10-29 18:40:18 +02:00
Fabrice Reix
482a2404a4 Extract filename parser in its own module 2021-10-29 18:40:18 +02:00
Erick Crager
b76c5519fe Support escaped spaces in filenames. 2021-10-17 16:27:05 +02:00
Fabrice Reix
b6f8797904 Parse more characters in URLs 2021-10-17 13:49:23 +02:00
Fabrice Reix
c608ff36da Refacto parsing url 2021-10-17 13:49:23 +02:00
Fabrice Reix
09115f3228 Support tidle in url 2021-10-14 09:17:49 +02:00
Fabrice Reix
8acd79c33b Improve HTML output 2021-09-25 09:17:33 +02:00
Fabrice Reix
bd540070e0 Accept hyphen in variable name 2021-09-10 17:35:23 +02:00
Fabrice Reix
187ca03698 Escape Hash(#) in hurl string value 2021-09-10 08:37:15 +02:00
Fabrice Reix
69aec13eb4 Fix clippy for Rust 1.54.0 2021-09-02 18:41:50 +02:00
Fabrice Reix
bde283f6c3 Fix parsing json body 2021-07-25 11:01:04 +02:00
Fabrice Reix
882a49a53c Fix clippy warnings (in tests) 2021-07-24 11:20:14 +02:00
Fabrice Reix
47ae21f6df add endsWith predicate 2021-07-16 08:18:58 +02:00
Fabrice Reix
3a25d516ab Add md5 query 2021-07-14 21:38:15 +02:00
Fabrice Reix
1b30968c95 Support startsWith and contains with bytes 2021-07-07 15:44:48 +02:00
Fabrice Reix
6d4308df73 Add hex body 2021-07-04 18:49:20 +02:00
Fabrice Reix
2fee06d379 Clean html output 2021-07-03 13:23:53 +02:00
Fabrice Reix
4fe77e284d Add predicate value base64 2021-07-02 18:51:58 +02:00
Fabrice Reix
d9630ed685 Add raw string in predicate value 2021-07-01 20:02:47 +02:00
Fabrice Reix
0dd0942435 Add PredicateValue public type 2021-06-29 18:31:05 +02:00
Fabrice Reix
e3952b8d84 Improve error message with suggestions 2021-06-28 20:02:44 +02:00
Fabrice Reix
31809edb9f Add notEquals query (!=) 2021-06-27 14:00:19 +02:00
Fabrice Reix
609868c858 Add subquery count
predicate countEquals becomes deprecated and is replaced by count ==
2021-06-27 09:20:03 +02:00
Fabrice Reix
559e9d9192 Improve url parsing error 2021-06-19 14:20:14 +02:00
Fabrice Reix
8844c1e60a Add operators for arithmetic predicates 2021-06-19 08:52:45 +02:00
Fabrice Reix
5faea0811a Add parsing error for odd number of hex digits 2021-06-17 21:54:25 +02:00
Fabrice Reix
ead46740ab Add sha256 query 2021-06-17 20:28:13 +02:00
Fabrice Reix
93c2fede66 Add bytes query and equals predicate for bytearray 2021-06-16 21:13:17 +02:00
Fabrice Reix
ae83a4cb52 Improve HTML report 2021-06-10 19:54:07 +02:00
Fabrice Reix
19857abf6b Update to Rust 1.52
fix new clippy warnings:
- inconsistent_struct_constructor
- manual_map
- copied
2021-05-14 14:26:54 +02:00
Fabrice Reix
ee47df6213 Fix new clippy warnings (Rust 1.51)
- upper_case_acronyms
- redundant_slicing
- vec_init_then_push
2021-03-28 09:51:21 +02:00
Fabrice Reix
2c84f299db Fix parsing quote in quoted template 2021-03-22 14:41:10 +01:00
Fabrice Reix
1d3a8ab664 Refacto parsing with template module
TBC: Performance issue when calling reader.is_eof()
Check len() call for a large vector.
2021-03-20 11:36:46 +01:00
Fabrice Reix
7ec43282ee Update Unit tests 2021-03-20 11:34:25 +01:00
Fabrice Reix
13bd92d27d Fix clippy unnecessary-wraps 2021-02-12 10:54:27 +01:00
Fabrice Reix
379bd5aac2 Accept more characters in the cookie-value 2021-01-22 07:49:48 +01:00
Fabrice Reix
5b17e6f9ee Accept '.' in cookie-value 2021-01-18 20:00:47 +01:00
Fabrice Reix
8b12a574a6 Support template in json for null, boolean and numbers 2021-01-09 18:32:31 +01:00
Fabrice Reix
9518d158e8 Fix clippy warning 2021-01-05 08:18:08 +01:00
Fabrice Reix
018ed06b75 Fix clippy warnings 2020-12-13 14:57:20 +01:00
Fabrice Reix
7588929755 Fix typo in json export 2020-11-30 15:38:44 +01:00
Fabrice Reix
367a26bf11 Add predicates for types 2020-11-28 18:36:51 +01:00
Fabrice Reix
c3b6f85fde Add duration query 2020-11-22 08:55:07 +01:00
Fabrice Reix
def109d673 Add comparison predicates 2020-11-21 17:28:31 +01:00
Fabrice Reix
9ce30efcda Export AST to json (continued) 2020-11-11 18:17:45 +01:00
Fabrice Reix
1956ebcd94 Support user in url 2020-11-10 07:35:27 +01:00
Fabrice Reix
92db6e505d Implement Display Trait in core 2020-11-07 20:39:18 +01:00
Fabrice Reix
698b6dcca6 add wildcard for http status code
in order to ignore implict assert on status code
2020-11-03 20:34:12 +01:00
Fabrice Reix
d18358b2b7 Reorganize code between hurl and hurlfmt 2020-11-03 07:41:48 +01:00
Fabrice Reix
fb312a8b73 Split project into multiples packages 2020-11-02 18:30:13 +01:00