aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/websockets/protocol.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-10 20:44:36 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-10 20:44:36 +0200
commitff27d65f08d00c312a162965c5b1db711aa8f6ed (patch)
tree2098e479125bec21c518955907d996a88c6028f7 /netlib/websockets/protocol.py
parent476badf45cd085d69b6162cd48983e3cd22cefcc (diff)
downloadmitmproxy-ff27d65f08d00c312a162965c5b1db711aa8f6ed.tar.gz
mitmproxy-ff27d65f08d00c312a162965c5b1db711aa8f6ed.tar.bz2
mitmproxy-ff27d65f08d00c312a162965c5b1db711aa8f6ed.zip
cleanup whitespace
Diffstat (limited to 'netlib/websockets/protocol.py')
-rw-r--r--netlib/websockets/protocol.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/netlib/websockets/protocol.py b/netlib/websockets/protocol.py
index 8169309a..6ce32eac 100644
--- a/netlib/websockets/protocol.py
+++ b/netlib/websockets/protocol.py
@@ -25,6 +25,7 @@ HEADER_WEBSOCKET_KEY = 'sec-websocket-key'
HEADER_WEBSOCKET_ACCEPT = 'sec-websocket-accept'
HEADER_WEBSOCKET_VERSION = 'sec-websocket-version'
+
class Masker(object):
"""
@@ -52,6 +53,7 @@ class Masker(object):
self.offset += len(ret)
return ret
+
class WebsocketsProtocol(object):
def __init__(self):