resource make a option call to
connection to use e.g. FTP or HTTP. The default AutoProtocol will guess connection type and create a new instance for this call only.
The template parameter T specifies the type to return. Possible values are char and ubyte to return char[] or ubyte[].
A T[] range containing the options of the resource pointed to by the URL.
import std.net.curl; auto http = HTTP(); options("https://httpbin.org/headers", http); writeln("Allow set to " ~ http.responseHeaders["Allow"]);
HTTP options request.