forked from orbit-oss/flask
Merge branch '0.10-maintenance'
This commit is contained in:
commit
a9503580d2
3 changed files with 26 additions and 2 deletions
|
|
@ -1491,9 +1491,9 @@ class Flask(_PackageBoundObject):
|
|||
with self._before_request_lock:
|
||||
if self._got_first_request:
|
||||
return
|
||||
self._got_first_request = True
|
||||
for func in self.before_first_request_funcs:
|
||||
func()
|
||||
self._got_first_request = True
|
||||
|
||||
def make_default_options_response(self):
|
||||
"""This method is called to create the default `OPTIONS` response.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue