aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-22 19:12:46 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-22 20:22:10 +0100
commite3aca1b2ce1511aae5a4cc0b87e8746a7f312c98 (patch)
treeb83c54ac0aea9ebe0dc0d76a144027de1ee82968 /docs
parentddac43b38e3fd923b71554126652b05e034d6900 (diff)
DOCS: Added information about login options in the URL
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/curl_easy_setopt.318
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 3297f8391..fd58b14c5 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -640,17 +640,23 @@ http://192.168.0.1/
http://[2001:1890:1112:1::20]/
-It is also possible to specify the user name and password as part of the
-host, for some protocols, when connecting to servers that require
-authentication.
-
-For example the following types of authentication support this:
+It is also possible to specify the user name, password and any supported login
+options as part of the host, for the following protocols, when connecting to
+servers that require authentication:
http://user:password@www.example.com
ftp://user:password@ftp.example.com
-pop3://user:password@mail.example.com
+imap://user:password;options@mail.example.com
+
+pop3://user:password;options@mail.example.com
+
+smtp://user:password;options@mail.example.com
+
+At present only IMAP, POP3 and SMTP support login options as part of the host.
+For more information about the login options in URL syntax please see RFC2384
+and RFC5092 (Added in 7.30.1).
The port is optional and when not specified libcurl will use the default port
based on the determined or specified protocol: 80 for HTTP, 21 for FTP and 25