signal callback delegate or function to connect
void callback(soup.message.Message message)
message the instance the signal is connected to (optional)
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to GotHeaders signal.
Emitted after receiving the Status-Line and response headers.
See also soup.message.Message.addHeaderHandler and soup.message.Message.addStatusCodeHandler, 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 signalMessage::got-body handler rather than a signalMessage::got_headers handler, so that the existing HTTP connection can be reused.)