summaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-15 13:40:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-15 13:40:02 +0200
commit54084aec6701c16d06486df566448eae22092c10 (patch)
tree51835f56f03087adf81c15f9cc85c8debfa95fe8 /src/tool_cfgable.h
parent4d1147ae20756925ccd6e2d4ace31fe92ae0d681 (diff)
downloadcurl-54084aec6701c16d06486df566448eae22092c10.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_cfgable.h')
-rw-r--r--src/tool_cfgable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 38777f6fd..a0ebcad59 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -138,6 +138,7 @@ struct OperationConfig {
bool readbusy; /* set when reading input returns EAGAIN */
bool globoff;
bool use_httpget;
+ bool strip_path_slash;
bool insecure_ok; /* set TRUE to allow insecure SSL connects */
bool proxy_insecure_ok; /* set TRUE to allow insecure SSL connects
for proxy */