You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Colorize debug output (the HTTP response output is not colorized).
148
+
Colorize debug output (the HTTP response output is not colorized).
149
149
150
150
.IP"--compressed "
151
151
@@ -189,26 +189,20 @@ Combined with \fI-b, --cookie\fP, you can simulate a cookie storage between succ
189
189
190
190
Sets delay before each request.
191
191
192
-
193
192
.IP"--error-format <FORMAT> "
194
193
195
194
Control the format of error message (short by default or long)
196
195
197
-
198
196
.IP"--file-root <DIR> "
199
197
200
-
Set root file system to import files in Hurl. This is used for both files in multipart form data and request body.
201
-
When this is not explicitly defined, the files are relative to the current directory in which Hurl is running.
202
-
203
-
.IP"-L, --location "
204
-
205
-
Follow redirect. To limit the amount of redirects to follow use the \fI--max-redirs\fP option
198
+
Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.
199
+
When it is not explicitly defined, files are relative to the current directory in which Hurl is running.
206
200
207
201
.IP"--glob <GLOB> "
208
202
209
203
Specify input files that match the given glob pattern.
210
204
211
-
Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].
205
+
Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].
212
206
However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.
213
207
214
208
.IP"-0, --http1.0 "
@@ -229,21 +223,22 @@ For HTTP, this means Hurl attempts to upgrade the request to HTTP/2 using the Up
229
223
230
224
Tells Hurl to try HTTP/3 to the host in the URL, but fallback to earlier HTTP versions if the HTTP/3 connection establishment fails. HTTP/3 is only available for HTTPS and not for HTTP URLs.
231
225
232
-
.IP"-i, --include "
233
-
234
-
Include the HTTP headers in the output (last entry).
235
-
236
226
.IP"--ignore-asserts "
237
227
238
228
Ignore all asserts defined in the Hurl file.
239
229
230
+
.IP"-i, --include "
231
+
232
+
Include the HTTP headers in the output
233
+
240
234
.IP"-k, --insecure "
241
235
242
236
This option explicitly allows Hurl to perform "insecure" SSL connections and transfers.
243
237
244
238
.IP"--interactive "
245
239
246
240
Stop between requests.
241
+
247
242
This is similar to a break point, You can then continue (Press C) or quit (Press Q).
248
243
249
244
.IP"-4, --ipv4 "
@@ -256,15 +251,25 @@ This option tells Hurl to use IPv6 addresses only when resolving host names, and
256
251
257
252
.IP"--json "
258
253
259
-
Output each hurl file result to JSON. The format is very closed to HAR format.
254
+
Output each hurl file result to JSON. The format is very closed to HAR format.
260
255
261
256
.IP"--key <KEY> "
262
257
263
258
Private key file name.
264
259
260
+
.IP"-L, --location "
261
+
262
+
Follow redirect. To limit the amount of redirects to follow use the \fI--max-redirs\fP option
263
+
264
+
.IP"--location-trusted "
265
+
266
+
Like \fI-L,--location\fP, but allows sending the name + password to all hosts that the site may redirect to.
267
+
This may or may not introduce a security breach if the site redirects you to a site to which you send your authentication info (which is plaintext in the case of HTTP Basic authentication).
268
+
265
269
.IP"--max-redirs <NUM> "
266
270
267
271
Set maximum number of redirection-followings allowed
272
+
268
273
By default, the limit is set to 50 redirections. Set this option to -1 to make it unlimited.
269
274
270
275
.IP"-m, --max-time <SECONDS> "
@@ -284,6 +289,7 @@ Suppress output. By default, Hurl outputs the body of the last response.
284
289
.IP"--noproxy <HOST(S)> "
285
290
286
291
Comma-separated list of hosts which do not use a proxy.
292
+
287
293
Override value from Environment variable no_proxy.
288
294
289
295
.IP"-o, --output <FILE> "
@@ -298,29 +304,29 @@ Tell Hurl to not handle sequences of /../ or /./ in the given URL path. Normally
298
304
299
305
Use the specified proxy.
300
306
301
-
.IP"--report-junit <FILE> "
302
-
303
-
Generate JUnit File.
304
-
305
-
If the FILE report already exists, it will be updated with the new test results.
306
-
307
307
.IP"--report-html <DIR> "
308
308
309
309
Generate HTML report in DIR.
310
310
311
311
If the HTML report already exists, it will be updated with the new test results.
312
312
313
+
.IP"--report-junit <FILE> "
314
+
315
+
Generate JUnit File.
316
+
317
+
If the FILE report already exists, it will be updated with the new test results.
318
+
313
319
.IP"--report-tap <FILE> "
314
320
315
321
Generate TAP report.
316
322
317
323
If the FILE report already exists, it will be updated with the new test results.
318
324
319
-
.IP"--resolve <HOST:PORT:ADDR> <HOST:PORT:ADDR>"
325
+
.IP"--resolve <HOST:PORT:ADDR> "
320
326
321
327
Provide a custom address for a specific host and port pair. Using this, you can make the Hurl requests(s) use a specified address and prevent the otherwise normally resolved address to be used. Consider it a sort of /etc/hosts alternative provided on the command line.
322
328
323
-
.IP"--retry <NUM> "
329
+
.IP"--retry <NUM> "
324
330
325
331
Maximum number of retries, 0 for no retries, -1 for unlimited retries. Retry happens if any error occurs (asserts, captures, runtimes etc...).
326
332
@@ -332,10 +338,6 @@ Duration in milliseconds between each retry. Default is 1000 ms.
332
338
333
339
(Windows) This option tells Hurl to disable certificate revocation checks. WARNING: this option loosens the SSL security, and by using this flag you ask for exactly that.
334
340
335
-
.IP"--unix-socket <PATH> "
336
-
337
-
(HTTP) Connect through this Unix domain socket, instead of using the network.
338
-
339
341
.IP"--test "
340
342
341
343
Activate test mode: with this, the HTTP response is not outputted anymore, progress is reported for each Hurl file tested, and a text summary is displayed when all files have been run.
@@ -345,6 +347,10 @@ Activate test mode: with this, the HTTP response is not outputted anymore, progr
345
347
Execute Hurl file to ENTRY_NUMBER (starting at 1).
346
348
Ignore the remaining of the file. It is useful for debugging a session.
347
349
350
+
.IP"--unix-socket <PATH> "
351
+
352
+
(HTTP) Connect through this Unix domain socket, instead of using the network.
353
+
348
354
.IP"-u, --user <USER:PASSWORD> "
349
355
350
356
Add basic Authentication header to each request.
@@ -365,7 +371,7 @@ Each variable is defined as name=value exactly as with \fI--variable\fP option.
365
371
366
372
Note that defining a variable twice produces an error.
367
373
368
-
.IP"-v, --verbose "
374
+
.IP"--verbose "
369
375
370
376
Turn on verbose output on standard error stream.
371
377
Useful for debugging.
@@ -382,7 +388,6 @@ Turn on more verbose output on standard error stream.
382
388
383
389
In contrast to \fI--verbose\fP option, this option outputs the full HTTP body request and response on standard error. In addition, lines starting with '**' are libcurl debug logs.
384
390
385
-
386
391
.IP"-h, --help "
387
392
388
393
Usage help. This lists all current command line options with a short description.
Copy file name to clipboardExpand all lines: docs/manual/hurl.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,8 +214,8 @@ Control the format of error message (short by default or long)
214
214
215
215
### --file-root <DIR> {#file-root}
216
216
217
-
Set root file system to import files in Hurl. This is used for both files in multipart form data and request body.
218
-
When this is not explicitly defined, the files are relative to the current directory in which Hurl is running.
217
+
Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.
218
+
When it is not explicitly defined, files are relative to the current directory in which Hurl is running.
219
219
220
220
### --glob <GLOB> {#glob}
221
221
@@ -280,6 +280,11 @@ Private key file name.
280
280
281
281
Follow redirect. To limit the amount of redirects to follow use the [`--max-redirs`](#max-redirs) option
282
282
283
+
### --location-trusted {#location-trusted}
284
+
285
+
Like [`-L, --location`](#location), but allows sending the name + password to all hosts that the site may redirect to.
286
+
This may or may not introduce a security breach if the site redirects you to a site to which you send your authentication info (which is plaintext in the case of HTTP Basic authentication).
287
+
283
288
### --max-redirs <NUM> {#max-redirs}
284
289
285
290
Set maximum number of redirection-followings allowed
Copy file name to clipboardExpand all lines: docs/spec/options/hurl/follow_location_trusted.option
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,5 @@ name: follow_location_trusted
2
2
long: location-trusted
3
3
help: Follow redirects but allows sending the name + password to all hosts that the site may redirect to.
4
4
---
5
-
Like -L, --location, but allows sending the name + password to all hosts that the site may redirect to.
5
+
Like [`-L, --location`](#location), but allows sending the name + password to all hosts that the site may redirect to.
6
6
This may or may not introduce a security breach if the site redirects you to a site to which you send your authentication info (which is plaintext in the case of HTTP Basic authentication).
0 commit comments