Added support for conditional responses to send_file
This commit is contained in:
parent
88d9315d19
commit
d0c6ad7d28
3 changed files with 36 additions and 5 deletions
|
|
@ -328,7 +328,7 @@ class Flask(_PackageBoundObject):
|
|||
return PackageLoader(self.import_name)
|
||||
|
||||
def init_jinja_globals(self):
|
||||
"""Callde directly after the environment was created to inject
|
||||
"""Called directly after the environment was created to inject
|
||||
some defaults (like `url_for`, `get_flashed_messages` and the
|
||||
`tojson` filter.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue