diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-19 10:26:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-19 10:26:01 +0200 |
commit | 30f912234e300bd21cb39537fb69d4e586ec89a9 (patch) | |
tree | afe4f1f24e10fd81b815f29eb818f8bd56c3ab17 | |
parent | e159c5be61873e299029da9140ce6b298dd95cc9 (diff) | |
download | curl-30f912234e300bd21cb39537fb69d4e586ec89a9.tar.gz |
fixup add docs for CURLU_GUESS_SCHEME
-rw-r--r-- | docs/libcurl/curl_url_set.3 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/libcurl/curl_url_set.3 b/docs/libcurl/curl_url_set.3 index b2b273f82..878f4884a 100644 --- a/docs/libcurl/curl_url_set.3 +++ b/docs/libcurl/curl_url_set.3 @@ -96,6 +96,16 @@ The query part gets space-to-plus conversion before the URL conversion. This URL encoding is charset unaware and will convert the input on a byte-by-byte manner. +.IP CURLU_DEFAULT_SCHEME +If set, will make libcurl allow the URL to be set without a scheme and then +sets that to the default scheme: HTTPS. Conflicts with the +\fICURLU_GUESS_SCHEME\fP option. +.IP CURLU_GUESS_SCHEME +If set, will make libcurl allow the URL to be set without a scheme and it +instead "guesses" which scheme that was intended based on the host name. If +the outermost sub-domain name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then +that scheme will be used, otherwise it picks HTTP. Conflicts with the +\fICURLU_DEFAULT_SCHEME\fP option. .SH RETURN VALUE Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went fine. |