We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e593fe + 19a72d9 commit 2c196d7Copy full SHA for 2c196d7
app/ch05_jinja_templates/final/pypi_org/infrastructure/view_modifiers.py
@@ -10,6 +10,10 @@ def response_inner(f):
10
@wraps(f)
11
def view_method(*args, **kwargs):
12
response_val = f(*args, **kwargs)
13
+
14
+ if isinstance(response_val, werkzeug.wrappers.response.Response):
15
+ return response_val
16
17
if isinstance(response_val, flask.Response):
18
return response_val
19
0 commit comments