Skip to content

Commit

Permalink
fix(response): remove encoded_headers default value (#2364)
Browse files Browse the repository at this point in the history
Signed-off-by: Janek Nouvertné <[email protected]>
  • Loading branch information
provinzkraut authored Sep 25, 2023
1 parent 53936c1 commit 0e71d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/response/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def to_asgi_response(
background=self.background or background,
body=self.render(self.content, media_type, get_serializer(type_encoders)),
cookies=cookies,
encoded_headers=encoded_headers or [],
encoded_headers=encoded_headers,
encoding=self.encoding,
headers=headers,
is_head_response=is_head_response,
Expand Down

0 comments on commit 0e71d27

Please sign in to comment.