Commit Graph

472 Commits

Author SHA1 Message Date
jcamiel
9cf13593be
Fix Content-type header override when used in lowercase 2024-02-11 18:36:14 +01:00
jcamiel
d2a4bae2f1
Add integration test on explicit/implicit content type header. 2024-02-11 18:08:50 +01:00
Fabrice Reix
00ba9fbd3d
Ignore test temporary (waiting for curl 8.6.1 fix) 2024-02-09 10:47:52 +01:00
Filipe PINTO
e44daea54b
Add test-macos-arm64 job 2024-02-01 16:07:07 +01:00
Fabrice Reix
0f099f3b8f
Reorganize/remove redundant tests 2024-01-31 12:33:02 +00:00
jcamiel
22ca0ad934
Display source request when there are asserts/runtime errors 2024-01-28 20:25:45 +01:00
Fabrice Reix
42c851cddb
Increase test coverage for HTML format 2024-01-27 15:25:30 +01:00
Fabrice Reix
27dd22005f
Add hurlfmt integ test for standalone HTML 2024-01-26 08:26:36 +01:00
Teodorescu Robert-Andrei
c6bc18570d
Add --netrc, --netrc-file and --netrc-optional options
This is a feature provided by cURL that allows it to retrieve the
username and password for a host from a .netrc file.

https://curl.se/docs/manpage.html#-n
2024-01-23 12:32:14 +00:00
Fabrice Reix
cda3770092
Generate hurlfmt options source/doc from spec 2024-01-22 11:29:37 +00:00
Fabrice Reix
83fc9d2f0d
Add Test integ for hurlfmt help 2024-01-18 15:03:44 +01:00
Fabrice Reix
65e00babca
Using explicit stdout output 2024-01-17 15:07:56 +01:00
jcamiel
93f9a914e9
Update doc for 4.2.0 2024-01-10 17:13:46 +01:00
jcamiel
0f8207c890
Generate manual and manual dependencies. 2024-01-10 17:11:49 +01:00
Fabrice Reix
280b3451f2
Add short name -v for verbose option 2024-01-10 16:39:31 +01:00
Fabrice Reix
8f7cc2270f
Add Integ test for --location-trusted option 2024-01-07 15:27:41 +01:00
Zandt Tittle
98b0f50741
Add --unix-socket option
This is a feature provided by cURL that allows sending requests to
a web server via a Unix Domain Socket. Some use cases
include:

* Querying docker API
* Running a web server w/o opening a TCP port for security and/or performance reasons

https://curl.se/docs/manpage.html#--unix-socket
2024-01-06 13:05:58 -06:00
Fabrice Reix
0b5c1f1cfc
Do not forward Authorization header by default 2024-01-06 15:27:29 +01:00
Fabrice Reix
6ac325d879
Use Template for filename type 2024-01-06 09:14:16 +01:00
jcamiel
be6297cd5e
Export entry source line number in JSON output 2024-01-04 17:29:44 +01:00
Fabrice Reix
537acaa2c1
Keep initial request headers when following redirects 2023-12-16 16:32:13 +01:00
Fabrice Reix
1eeb340c30
Add integ test for jsonpath filter 2023-12-15 14:27:33 +01:00
Fabrice Reix
9f0894e26d
Update test integ 2023-12-14 19:59:07 +00:00
jcamiel
1c24185aeb
Support key password in --cert option (certificate[:password]) 2023-12-14 17:54:14 +01:00
Fabrice Reix
0b2c069ff0
Add test float 2023-12-13 08:50:13 +01:00
Fabrice Reix
4ff045654d
Add integ tests export 2023-12-09 15:17:46 +01:00
Fabrice Reix
d42fb9bc95
Add file predicate value 2023-12-09 11:28:08 +01:00
Fabrice Reix
541f6e7a90
Update integ test hurlfmt for options 2023-12-08 15:05:59 +00:00
jcamiel
a7807cfe21
Better unicode parsing error description. 2023-12-08 15:31:09 +01:00
jcamiel
95528ba5b9
Better option error description. 2023-12-08 14:58:17 +01:00
jcamiel
0c92430520
Better hexadecimal digit parsing error description. 2023-12-08 14:34:29 +01:00
jcamiel
bdf0d05dcf
Better multi-part form data file content-type parsing error description. 2023-12-08 14:34:28 +01:00
jcamiel
e7e7faf4c7
Better XML parsing error description. 2023-12-08 14:34:28 +01:00
jcamiel
03dcb5361e
Fix unicode surrogate pair decoding in JSON request body 2023-12-08 11:43:41 +01:00
Fabrice Reix
4a94c882af
Increase coverage for hurlfmt JSON/HTML output 2023-12-07 12:41:58 +00:00
Fabrice Reix
54994dba37
Move Hurl file check to check workflow 2023-12-05 15:55:04 +00:00
Fabrice Reix
947603af12
Add non-renderable variables 2023-12-05 09:34:02 +01:00
Fabrice Reix
a97df632bc
Split integ tests between hurl and hurlfmt 2023-12-03 11:57:30 +01:00
jcamiel
9c7e793ba1
Some refacto on output managment 2023-12-02 13:26:35 +01:00
jcamiel
f2c5198ff2
Add integration test for --output per request option. 2023-11-30 18:00:08 +01:00
Fabrice Reix
774650e409
Add Test integ for big numbers 2023-11-30 11:02:50 +01:00
Fabrice Reix
a4df7f79a0
Add jsonpath Test 2023-11-26 11:28:36 +01:00
Fabrice Reix
11d8af6957
Use Number comparison to eval predicates 2023-11-15 17:04:37 +01:00
jcamiel
0b86a70d43
Fix undefined error for various I/O error using --output. 2023-11-14 16:03:05 +01:00
Fabrice Reix
b62a09f887
Fix xpath filter in JSON output 2023-11-08 15:18:57 +01:00
Fabrice Reix
74edc18bd2
Add jsonpath filter 2023-11-08 15:18:52 +01:00
jcamiel
db6932641c
Improve assert_header integration test with multiple HTTP response headers for the same name. 2023-11-07 13:27:43 +01:00
Fabrice Reix
d2a220fb05
Generating Clap commands source file 2023-11-06 11:14:24 +01:00
robozati
97a02f3990
Update the JSON parser to account for fabricereix changes 2023-11-02 08:59:45 +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