OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | accept_mimetypes (self) |
def | accept_charsets (self) |
def | accept_encodings (self) |
def | accept_languages (self) |
A mixin for classes with an :attr:`~BaseResponse.environ` attribute to get all the HTTP accept headers as :class:`~werkzeug.datastructures.Accept` objects (or subclasses thereof).
def accept_charsets | ( | self | ) |
List of charsets this client supports as :class:`~werkzeug.datastructures.CharsetAccept` object.
def accept_encodings | ( | self | ) |
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`.
def accept_languages | ( | self | ) |
List of languages this client accepts as :class:`~werkzeug.datastructures.LanguageAccept` object. .. versionchanged 0.5 In previous versions this was a regular :class:`~werkzeug.datastructures.Accept` object.
def accept_mimetypes | ( | self | ) |
List of mimetypes this client supports as :class:`~werkzeug.datastructures.MIMEAccept` object.