diff options
Diffstat (limited to 'docs/curl.1')
-rw-r--r-- | docs/curl.1 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index 12725db4..1cd598d0 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -22,7 +22,7 @@ .\" .\" DO NOT EDIT. Generated by the curl project gen.pl man page generator. .\" -.TH curl 1 "November 16, 2016" "Curl 7.61.1" "Curl Manual" +.TH curl 1 "November 16, 2016" "Curl 7.62.0" "Curl Manual" .SH NAME curl \- transfer a URL @@ -468,6 +468,11 @@ If you start the data with the letter @, the rest should be a filename. Data is posted in a similar manner as \fI-d, --data\fP does, except that newlines and carriage returns are preserved and conversions are never done. +Like \fI-d, --data\fP the default content-type sent to the server is +application/x-www-form-urlencoded. If you want the data to be treated as +arbitrary binary data by the server then set the content-type to octet-stream: +-H "Content-Type: application/octet-stream". + If this option is used several times, the ones following the first will append data as described in \fI-d, --data\fP. .IP "--data-raw <data>" @@ -611,6 +616,11 @@ may also optionally be given as \fI:<port-number>\fP after each IP address. \fI--dns-servers\fP requires that the underlying libcurl was built to support c-ares. Added in 7.33.0. +.IP "--doh-url <URL>" +(all) Specifies which DNS-over-HTTPS (DOH) server to use to resolve hostnames, +instead of using the default name resolver mechanism. The URL must be HTTPS. + +If this option is used several times, the last one will be used. .IP "-D, --dump-header <filename>" (HTTP FTP) Write the received protocol headers to the specified file. @@ -1098,7 +1108,7 @@ See also \fI--http1.1\fP and \fI--http2\fP. This option overrides \fI-6, --ipv6\ This option tells curl to resolve names to IPv6 addresses only, and not for example try IPv4. -See also \fI--http1.1\fP and \fI--http2\fP. This option overrides \fI-6, --ipv6\fP. +See also \fI--http1.1\fP and \fI--http2\fP. This option overrides \fI-4, --ipv4\fP. .IP "-j, --junk-session-cookies" (HTTP) When curl is told to read cookies from a given file, this option will make it discard all "session cookies". This will basically have the same effect as if @@ -1314,7 +1324,6 @@ including headers in the response will break Metalink parser and if the headers are included in the file described in Metalink file, hash check will fail. - \fI--metalink\fP requires that the underlying libcurl was built to support metalink. Added in 7.27.0. .IP "--negotiate" (HTTP) Enables Negotiate (SPNEGO) authentication. @@ -2383,7 +2392,7 @@ Set username for use with the TLS authentication method specified with Added in 7.21.4. .IP "--tlsv1.0" -(TLS) Forces curl to use TLS version 1.0 when connecting to a remote TLS server. +(TLS) Forces curl to use TLS version 1.0 or later when connecting to a remote TLS server. Added in 7.34.0. .IP "--tlsv1.1" |