AcceptsEncodings checks if the specified encoding is acceptable.
(offers ...string)
| 61 | |
| 62 | // AcceptsEncodings checks if the specified encoding is acceptable. |
| 63 | func (r *DefaultReq) AcceptsEncodings(offers ...string) string { |
| 64 | header := joinHeaderValues(r.c.fasthttp.Request.Header.PeekAll(HeaderAcceptEncoding)) |
| 65 | return getOffer(header, acceptsOffer, offers...) |
| 66 | } |
| 67 | |
| 68 | // AcceptsLanguages checks if the specified language is acceptable using |
| 69 | // RFC 4647 Basic Filtering. |
nothing calls this directly
no test coverage detected