From ed74c6442d8f46cae448e8b90130d006eb6169f5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Feb 2017 16:58:21 +0100 Subject: TODO: "OPTIONS *" Closes #1280 --- docs/TODO | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'docs/TODO') diff --git a/docs/TODO b/docs/TODO index 217c6f887..15c1b274f 100644 --- a/docs/TODO +++ b/docs/TODO @@ -71,7 +71,7 @@ 5.9 Improve formpost API 5.10 Leave secure cookies alone 5.11 Chunked transfer multipart formpost - + 5.12 OPTIONS * 6. TELNET 6.1 ditch stdin @@ -594,6 +594,23 @@ This is not detailed in any FTP specification. https://github.com/curl/curl/issues/1139 +5.12 OPTIONS * + + HTTP defines an OPTIONS method that can be sent with an asterisk option like + "OPTIONS *" to ask about options from the server and not a specific URL + resource. https://tools.ietf.org/html/rfc7230#section-5.3.4 + + libcurl as it currently works will always sent HTTP methods with a path that + starts with a slash so there's no way for an application to send a proper + "OPTIONS *" using libcurl. This should be fixed. + + I can't think of any other non-slash paths we should support so it will + probably make sense to add a new boolean option for issuign an "OPTIONS *" + request. CURLOPT_OPTIONSASTERISK perhaps (and a corresponding command line + option)? + + See https://github.com/curl/curl/issues/1280 + 6. TELNET -- cgit v1.2.3