mirror of
https://github.com/django/daphne.git
synced 2025-04-21 17:22:03 +03:00
Fix type of cookie header string
This commit is contained in:
parent
4462e3dfec
commit
8faf37bfbf
|
@ -235,7 +235,7 @@ class AsgiHandler(base.BaseHandler):
|
|||
for c in response.cookies.values():
|
||||
response_headers.append(
|
||||
(
|
||||
'Set-Cookie',
|
||||
b'Set-Cookie',
|
||||
c.output(header='').encode("ascii"),
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user