From b778ae4c5e5bcb6da4de789e25971f40f0673d86 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 19 Jun 2017 14:10:33 +0200 Subject: http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH ... to enable sending "OPTIONS *" which wasn't possible previously. This option currently only works for HTTP. Added test cases 1298 + 1299 to verify Fixes #1280 Closes #1462 --- src/tool_cfgable.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tool_cfgable.h') diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index 8d74905d9..f6536e8e4 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -144,6 +144,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 */ -- cgit v1.2.3