OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | max_content_length (self) |
def | endpoint (self) |
def | blueprint (self) |
![]() | |
def | on_json_loading_failed (self, e) |
Static Public Attributes | |
url_rule | |
view_args | |
routing_exception | |
![]() | |
json_module | |
The request object used by default in Flask. Remembers the matched endpoint and view arguments. It is what ends up as :class:`~flask.request`. If you want to replace the request object used you can subclass this and set :attr:`~flask.Flask.request_class` to your subclass. The request object is a :class:`~werkzeug.wrappers.Request` subclass and provides all of the attributes Werkzeug defines plus a few Flask specific ones.
def blueprint | ( | self | ) |
The name of the current blueprint
def endpoint | ( | self | ) |
The endpoint that matched the request. This in combination with :attr:`view_args` can be used to reconstruct the same or a modified URL. If an exception happened when matching, this will be ``None``.
def max_content_length | ( | self | ) |
Read-only view of the ``MAX_CONTENT_LENGTH`` config key.
|
static |
|
static |
|
static |