got_headers


Description:

public signal void got_headers ()

Emitted after receiving the Status-Line and response headers.

See also [method@Message.add_header_handler] and [method@Message.add_status_code_handler], which can be used to connect to a subset of emissions of this signal.

If you cancel or requeue msg while processing this signal, then the current HTTP I/O will be stopped after this signal emission finished, and msg's connection will be closed. (If you need to requeue a message--eg, after handling authentication or redirection--it is usually better to requeue it from a [signal@Message:SoupMessage:got-body] handler rather than a [signal@Message: SoupMessage:got_headerss] handler, so that the existing HTTP connection can be reused.)