Fix cookie header to not include set-cookie attributes (#522)

This commit is contained in:
prfss
2019-05-16 05:12:22 +09:00
committed by Sean McArthur
parent 795602450b
commit c7da30149a
2 changed files with 7 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ fn cookie_store_simple() {
",
response: b"\
HTTP/1.1 200 OK\r\n\
Set-Cookie: key=val\r\n\
Set-Cookie: key=val; HttpOnly\r\n\
Content-Length: 0\r\n\
\r\n\
"