Skip to content

Commit 2a793ad

Browse files
committed
Remove useless call to set_status_and_headers_in_response
1 parent 41ae4cc commit 2a793ad

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

flask_smorest/response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ def wrapper(*args, **kwargs):
8080

8181
# If return value is a werkzeug BaseResponse, return it
8282
if isinstance(result_raw, BaseResponse):
83-
set_status_and_headers_in_response(
84-
result_raw, status, headers)
8583
return result_raw
8684

8785
# Dump result with schema if specified

0 commit comments

Comments
 (0)