MessageFlags
- class MessageFlags
Various flags that can be set on a Message
to alter its
behavior.
Fields
- class MessageFlags
- COLLECT_METRICS
Metrics will be collected for this message.
- 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. This applies to both server and proxy authentication. Note thatauthenticate
signal will be emitted, if you want to disable authentication for a message usedisable_feature
passingSOUP_TYPE_AUTH_MANAGER
instead.
- IDEMPOTENT
The message is considered idempotent, regardless its
method
, and allows reuse of existing idle connections, instead of always requiring a new one, unlessSOUP_MESSAGE_NEW_CONNECTION
is set.
- NEW_CONNECTION
Requests that the message should be sent on a newly-created connection, not reusing an existing persistent connection. Note that messages with non-idempotent
method
’s behave this way by default, unlessSOUP_MESSAGE_IDEMPOTENT
is set.
- NO_REDIRECT
The session should not follow redirect (3xx) responses received by this message.