mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
13 lines
424 B
Makefile
13 lines
424 B
Makefile
Long: request-target
|
|
Arg: <path>
|
|
Help: Specify the target for this request
|
|
Protocols: HTTP
|
|
Added: 7.55.0
|
|
Category: http
|
|
Example: --request-target "*" -X OPTIONS $URL
|
|
---
|
|
Tells curl to use an alternative "target" (path) instead of using the path as
|
|
provided in the URL. Particularly useful when wanting to issue HTTP requests
|
|
without leading slash or other data that doesn't follow the regular URL
|
|
pattern, like "OPTIONS *".
|