Permalink
Browse files

Fix #46

  • Loading branch information...
1 parent 8d07abb commit c4b26c7f1fce7e0ef368f90f16b41af780d142c2 @Lawouach committed Jun 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ws4py/client/__init__.py
@@ -60,8 +60,6 @@ def connect(self):
headers, _, body = response.partition('\r\n\r\n')
response_line, _, headers = headers.partition('\r\n')
- self.__buffer = body
-
try:
self.process_response_line(response_line)
self.protocols, self.extensions = self.process_handshake_header(headers)
@@ -70,6 +68,8 @@ def connect(self):
raise
self.handshake_ok()
+ if body:
+ self.process(body)
@property
def handshake_headers(self):

0 comments on commit c4b26c7

Please sign in to comment.