forked from orbit-oss/flask
Fix typo in docs
Also added one missing comma for readability
This commit is contained in:
parent
12008c2e63
commit
2b47615998
1 changed files with 2 additions and 2 deletions
|
|
@ -1627,13 +1627,13 @@ class Flask(_PackageBoundObject):
|
||||||
|
|
||||||
def finalize_request(self, rv, from_error_handler=False):
|
def finalize_request(self, rv, from_error_handler=False):
|
||||||
"""Given the return value from a view function this finalizes
|
"""Given the return value from a view function this finalizes
|
||||||
the request by converting it into a repsonse and invoking the
|
the request by converting it into a response and invoking the
|
||||||
postprocessing functions. This is invoked for both normal
|
postprocessing functions. This is invoked for both normal
|
||||||
request dispatching as well as error handlers.
|
request dispatching as well as error handlers.
|
||||||
|
|
||||||
Because this means that it might be called as a result of a
|
Because this means that it might be called as a result of a
|
||||||
failure a special safe mode is available which can be enabled
|
failure a special safe mode is available which can be enabled
|
||||||
with the `from_error_handler` flag. If enabled failures in
|
with the `from_error_handler` flag. If enabled, failures in
|
||||||
response processing will be logged and otherwise ignored.
|
response processing will be logged and otherwise ignored.
|
||||||
|
|
||||||
:internal:
|
:internal:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue