Gjsify LogoGjsify Logo

Various flags that can be set on a #SoupMessage to alter its behavior.

bitfield

Index

Enumeration Members

CAN_REBUILD: number

The caller will rebuild the request body if the message is restarted; see soup_message_body_set_accumulate() for more details.

CERTIFICATE_TRUSTED: number

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: number

Set by #SoupContentDecoder 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: number

The #SoupAuthManager 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 that #SoupSession::authenticate signal will be emitted, if you want to disable authentication for a message use soup_message_disable_feature() passing #SOUP_TYPE_AUTH_MANAGER instead. Since 2.58

IDEMPOTENT: number

The message is considered idempotent, regardless its #SoupMessage:method, and allows reuse of existing idle connections, instead of always requiring a new one, unless #SOUP_MESSAGE_NEW_CONNECTION is set.

IGNORE_CONNECTION_LIMITS: number

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. If a dedicated connection is eventually created for this message, it will be dropped when the message finishes. Since 2.50

NEW_CONNECTION: number

Requests that the message should be sent on a newly-created connection, not reusing an existing persistent connection. Note that messages with non-idempotent #SoupMessage:methods behave this way by default, unless #SOUP_MESSAGE_IDEMPOTENT is set.

NO_REDIRECT: number

The session should not follow redirect (3xx) responses received by this message.

OVERWRITE_CHUNKS: number

Deprecated: equivalent to calling soup_message_body_set_accumulate() on the incoming message body (ie, #SoupMessage:response_body for a client-side request), passing %FALSE.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method