CURLOPT_UPLOAD_FLAGS.md: expand

And list each supported flag in a nicer way

Closes #21218
This commit is contained in:
Daniel Stenberg 2026-04-04 13:28:21 +02:00
parent 6d6d81e393
commit b669a58f2e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -27,12 +27,34 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD_FLAGS, long bitmask);
# DESCRIPTION
Pass a long as parameter, which is set to a bitmask, to tell libcurl which
flags to send the server relating to uploaded files. The current supported
flags are **CURLULFLAG_ANSWERED**, which sets the **Answered** flag for IMAP
uploads, **CURLULFLAG_DELETED**, which sets the **Deleted** flag for IMAP
uploads, **CURLULFLAG_DRAFT**, which sets the **Draft** flag for IMAP uploads,
**CURLULFLAG_FLAGGED**, which sets the **Flagged** flag for IMAP uploads, and
**CURLULFLAG_SEEN**, which sets the **Seen** flag for IMAP uploads.
flags to send the server relating to uploaded files. The currently supported
flags are:
## `CURLULFLAG_ANSWERED`
Sets the **Answered** flag for IMAP uploads. Indicates that the message has
been replied to.
## `CURLULFLAG_DELETED`
Sets the **Deleted** flag for IMAP uploads. Marks the message for deletion
rather than immediately removing it.
## `CURLULFLAG_DRAFT`
Sets the **Draft** flag for IMAP uploads. Marks the message as an uncompleted
composition.
## `CURLULFLAG_FLAGGED`
Sets the **Flagged** flag for IMAP uploads. Marks the message for special
attention.
## `CURLULFLAG_SEEN`
Sets the **Seen** flag for IMAP uploads. Marks the message as read.
##
# DEFAULT