Further refactoring towards #1176.
This commit is contained in:
parent
09245589f5
commit
a9f08760cc
4 changed files with 14 additions and 11 deletions
|
|
@ -560,7 +560,8 @@ class WebSocketProtocol(ProtocolWrapper):
|
|||
request, chaff, self.buf = self.buf.partition("\r\n")
|
||||
try:
|
||||
# verb and version are never used, maybe in the future.
|
||||
verb, self.location, version = request.split(" ")
|
||||
#verb, self.location, version
|
||||
_, self.location, _ = request.split(" ")
|
||||
except ValueError:
|
||||
self.loseConnection()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue