werkzeug.AcceptMixin

class werkzeug.AcceptMixin[source]

A mixin for classes with an environ attribute to get all the HTTP accept headers as Accept objects (or subclasses thereof).

Attributes

accept_charsets List of charsets this client supports as CharsetAccept object.
accept_encodings List of encodings this client accepts.
accept_languages List of languages this client accepts as LanguageAccept object.
accept_mimetypes List of mimetypes this client supports as MIMEAccept object.