Skip to content

Commit

Permalink
Remove white spaces before cookies (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
ostcar authored and andrewgodwin committed Aug 24, 2018
1 parent 233f586 commit 6cea1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channels/http.py
Expand Up @@ -273,7 +273,7 @@ def encode_response(cls, response):
response_headers.append(
(
b"Set-Cookie",
c.output(header="").encode("ascii"),
c.output(header="").encode("ascii").strip(),
)
)
# Make initial response message
Expand Down

0 comments on commit 6cea1cc

Please sign in to comment.