We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ae4cc commit 2a793adCopy full SHA for 2a793ad
1 file changed
flask_smorest/response.py
@@ -80,8 +80,6 @@ def wrapper(*args, **kwargs):
80
81
# If return value is a werkzeug BaseResponse, return it
82
if isinstance(result_raw, BaseResponse):
83
- set_status_and_headers_in_response(
84
- result_raw, status, headers)
85
return result_raw
86
87
# Dump result with schema if specified
0 commit comments