request_compression_dictionary


Description:

[ Version ( since = "3.8" ) ]
public signal bool request_compression_dictionary (CompressionDictionaryRequest request)

Emitted when the server responds with `Content-Encoding: dcb` or `Content-Encoding: dcz` and libsoup needs the raw dictionary bytes to set up decompression.

Call [method@CompressionDictionaryRequest.set_dictionary] on request to provide the dictionary, or [ method@CompressionDictionaryRequest.cancel] to abort. Either can be done synchronously inside this handler, or asynchronously after calling [method@GObject.Object.ref] on request and returning true.

Parameters:

request

a CompressionDictionaryRequest to resolve

Returns:

true to indicate the request will be handled (sync or async), or false to let other handlers run. If no handler returns true the response fails.