accept_transfer_encoding


Description:


[ Version ( since = "0.3" ) ]
public HandlerCallback accept_transfer_encoding (string encodings, owned ForwardCallback<string> forward = forward)

Negotiate a 'TE' header.

Unlike for Valum.ContentNegotiation.accept_encoding, the transfer coding is not applied with a GLib.Converter, but simply stated in the response headers. It's up to the VSGI implementation to perform that work.

Note that according to HTTP/1.1 specification, the 'chunked' encoding is always considered acceptable.


Package: valum-0.3



2022 vala-language.org