Back to Expressjs

Req AcceptsEncodings

_includes/api/en/4x/req-acceptsEncodings.md

latest374 B
Original Source
<h3 id='req.acceptsEncodings'>req.acceptsEncodings(encoding [, ...])</h3>

Returns the first accepted encoding of the specified encodings, based on the request's Accept-Encoding HTTP header field. If none of the specified encodings is accepted, returns false.

For more information, or if you have issues or concerns, see accepts.