diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-06-15 13:40:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-06-15 13:40:02 +0200 |
commit | 54084aec6701c16d06486df566448eae22092c10 (patch) | |
tree | 51835f56f03087adf81c15f9cc85c8debfa95fe8 /src/tool_help.c | |
parent | 4d1147ae20756925ccd6e2d4ace31fe92ae0d681 (diff) | |
download | curl-bagder/http-options.tar.gz |
http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASHbagder/http-options
... to enable sending "OPTIONS *" which wasn't possible previously.
This option currently only works for HTTP.
Added test case 1299 to verify
Fixes #1280
Diffstat (limited to 'src/tool_help.c')
-rw-r--r-- | src/tool_help.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tool_help.c b/src/tool_help.c index 46aae4527..6d36e550f 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -252,7 +252,7 @@ static const struct helptxt helptext[] = { "Use HTTP NTLM authentication"}, {" --ntlm-wb", "Use HTTP NTLM authentication with winbind"}, - {" --oauth2-bearer", + {" --oauth2-bearer <token>", "OAuth 2 Bearer Token"}, {"-o, --output <file>", "Write to file instead of stdout"}, @@ -400,6 +400,8 @@ static const struct helptxt helptext[] = { "Use SSLv3"}, {" --stderr", "Where to redirect stderr"}, + {" --strip-path-slash", + "Strip off the first slash of the path"}, {" --suppress-connect-headers", "Suppress proxy CONNECT response headers"}, {" --tcp-fastopen", |