various typo fixes
This commit is contained in:
parent
80b2689335
commit
48f7cdd016
6 changed files with 18 additions and 18 deletions
|
|
@ -108,7 +108,7 @@ class Request(RequestBase):
|
|||
|
||||
def on_json_loading_failed(self, e):
|
||||
"""Called if decoding of the JSON data failed. The return value of
|
||||
this method is used by :attr:`json` when an error ocurred. The default
|
||||
this method is used by :attr:`json` when an error occurred. The default
|
||||
implementation raises a :class:`JSONBadRequest`, which is a subclass of
|
||||
:class:`~werkzeug.exceptions.BadRequest` which sets the
|
||||
``Content-Type`` to ``application/json`` and provides a JSON-formatted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue