accept_encoding


Description:


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

Negotiate a 'Accept-Encoding' header.

It understands the wildcard '*'.

This must be applied before any other content negotiation as it might convert the response to honor the negotiated encoding.

The 'gzip', 'deflate' and 'identity' encodings are handled. Other encodings must be handled manually.


Package: valum-0.3