MCPcopy
hub / github.com/pallets/werkzeug / accept_encodings

Method accept_encodings

src/werkzeug/sansio/request.py:380–385  ·  view source on GitHub ↗

List of encodings this client accepts. Encodings in a HTTP term are compression encodings such as gzip. For charsets have a look at :attr:`accept_charset`.

(self)

Source from the content-addressed store, hash-verified

378
379 @cached_property
380 def accept_encodings(self) -> Accept:
381 """List of encodings this client accepts. Encodings in a HTTP term
382 are compression encodings such as gzip. For charsets have a look at
383 :attr:`accept_charset`.
384 """
385 return parse_accept_header(self.headers.get("Accept-Encoding"))
386
387 @cached_property
388 def accept_languages(self) -> LanguageAccept:

Callers

nothing calls this directly

Calls 2

parse_accept_headerFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected