]> granicus.if.org Git - curl/commitdiff
TODO: "OPTIONS *"
authorDaniel Stenberg <daniel@haxx.se>
Thu, 23 Feb 2017 15:58:21 +0000 (16:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 Feb 2017 15:58:21 +0000 (16:58 +0100)
Closes #1280

docs/TODO

index 217c6f887af1118f716fc2bfbb7a899cdd638d23..15c1b274f67be5e59acabff4ed9555c2db603b0c 100644 (file)
--- 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