Skip to content

Commit

Permalink
Fix missing headers extend
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Feb 2, 2022
1 parent 15cfc49 commit d800e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions strawberry/asgi/handlers/http_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ async def handle(self, scope: Scope, receive: Receive, send: Send):
context=context,
)

response.headers.raw.extend(sub_response.headers.raw)

if sub_response.background:
response.background = sub_response.background

Expand Down

0 comments on commit d800e87

Please sign in to comment.