aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-04-18 18:02:04 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-04-18 20:23:45 +0100
commit33e0cba8f12094cf981cf49d09fdf7a41f8c51a6 (patch)
tree676b151d53600eea0c89828dee8092faa1464a74
parentd7ed8da43e111976b40d5092506609326dc18bd7 (diff)
curl_easy_setopt: Updated CURLOPT_URL to include IMAP PARTIAL FETCH example
-rw-r--r--docs/libcurl/curl_easy_setopt.310
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index ae78fff75..a1748ab57 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -821,8 +821,9 @@ the user
The path part of an IMAP request not only specifies the mailbox to list (Added
in 7.30.0) or select, but can also be used to check the UIDVALIDITY of the
-mailbox, to specify the UID and SECTION of the message to fetch (Added in
-7.30.0) and to specify what nessages to search for (Added in 7.37.0).
+mailbox, to specify the UID, SECTION (Added in 7.30.0) and PARTIAL octets
+(Added in 7.37.0) of the message to fetch and to specify what nessages to
+search for (Added in 7.37.0).
imap://user:password@mail.example.com - Performs a top level folder list
@@ -837,7 +838,10 @@ the user's inbox, checks the UIDVALIDITY of the mailbox is 50 and fetches
message 2 if it is
imap://user:password@mail.example.com/INBOX/;UID=3/;SECTION=TEXT - Selects the
-user's inbox and fetches message 3 with only the text portion of the message
+user's inbox and fetches the text portial of message 3
+
+imap://user:password@mail.example.com/INBOX/;UID=4/;PARTIAL=0.1024 - Selects
+the user's inbox and fetches the first 1024 octets of message 4
imap://user:password@mail.example.com/INBOX?NEW - Selects the user's inbox and
checks for NEW messages