Skip to content

Commit

Permalink
remove extraneous double crlf after body when writing hixie76 upgrade…
Browse files Browse the repository at this point in the history
… message
  • Loading branch information
flaviogrossi committed Aug 26, 2013
1 parent 51f5c39 commit 10cacb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclone/websocket.py
Expand Up @@ -363,7 +363,7 @@ def rawDataReceived(self, data):
"Connection: Upgrade\r\n"
"Server: cyclone/%s\r\n"
"Sec-WebSocket-Origin: %s\r\n"
"Sec-WebSocket-Location: ws://%s%s\r\n\r\n%s\r\n\r\n" %
"Sec-WebSocket-Location: ws://%s%s\r\n\r\n%s" %
(cyclone.version, self.request.headers["Origin"],
self.request.host, self.request.path, token))
self._postheader = False
Expand Down

0 comments on commit 10cacb6

Please sign in to comment.