mirror of
https://github.com/django/daphne.git
synced 2025-07-10 16:02:18 +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():
|
for c in response.cookies.values():
|
||||||
response_headers.append(
|
response_headers.append(
|
||||||
(
|
(
|
||||||
'Set-Cookie',
|
b'Set-Cookie',
|
||||||
c.output(header='').encode("ascii"),
|
c.output(header='').encode("ascii"),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user