Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
Middleware which handles unpacking of requests. It supports unpacking Content-Encoding: gzip and Content-Encoding: deflate. Other encodings are ignored and passed on to the next handler. If the client specifies a supported Content-Encoding but this function fails to parse the body as such, it will fail the request with HTTP 415 and a text/plain error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.