Fix type of cookie header string

This commit is contained in:
Andrew Godwin 2016-03-16 09:49:09 -03:00
parent 4462e3dfec
commit 8faf37bfbf

View File

@ -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"),
)
)