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
AuthManagershould 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 thatauthenticatesignal will be emitted, if you want to disable authentication for a message usedisable_featurepassingSOUP_TYPE_AUTH_MANAGERinstead.
- 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_CONNECTIONis 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
methods behave this way by default, unlessSOUP_MESSAGE_IDEMPOTENTis set.
- NO_REDIRECT#
The session should not follow redirect (3xx) responses received by this message.