MessageFlags
Description:
[ CCode ( cprefix = "SOUP_MESSAGE_" , type_id = "soup_message_flags_get_type ()" ) ]
[ Flags ]
public enum MessageFlags
Various flags that can be set on a Message to alter its behavior.
Content:
Enum values:
- CAN_REBUILD - The caller will
rebuild the request body if the message is restarted; see
set_accumulate for more details.
- CERTIFICATE_TRUSTED -
if set after an https response has been received, indicates that the server's SSL certificate is trusted according to the session's CA.
- CONTENT_DECODED - Set by
ContentDecoder to indicate that it has removed the Content-Encoding on a
message (and so headers such as Content-Length may no longer accurately describe the body).
- DO_NOT_USE_AUTH_CACHE -
The AuthManager should not use the credentials
cache for this message, neither to use cached credentials to automatically authenticate this message nor to cache the credentials after the
message is successfully authenticated.
- IDEMPOTENT - The message is
considered idempotent, regardless its method, and allows reuse of
existing idle connections, instead of always requiring a new one, unless
NEW_CONNECTION is set.
- IGNORE_CONNECTION_LIMITS -
Request that a new connection is created for the message if there aren't idle connections available and it's not
possible to create new connections due to any of the connection limits has been reached.
- NEW_CONNECTION - Requests
that the message should be sent on a newly-created connection, not reusing an existing persistent connection.
- NO_REDIRECT - The session
should not follow redirect (3xx) responses received by this message.
- OVERWRITE_CHUNKS -
Deprecated: equivalent to calling set_accumulate on the
incoming message body (ie,
SoupMessage:response_body
for a client-side request), passing false
.