classafButter::GzipMiddleware

sys::Obj
  afButter::GzipMiddleware : afButter::ButterMiddleware

(Middleware) - Automatically un-gzips HTTP response content.

Adds gzip as an accepted encoding in the HTTP request header. Should the response then be gzip encoded, the body of the response is replaced with a decoded version.

enabled

Source

Bool enabled := true

Set to false to disable this middleware instance.