diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-10 20:44:36 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-10 20:44:36 +0200 |
commit | ff27d65f08d00c312a162965c5b1db711aa8f6ed (patch) | |
tree | 2098e479125bec21c518955907d996a88c6028f7 /netlib/websockets/protocol.py | |
parent | 476badf45cd085d69b6162cd48983e3cd22cefcc (diff) | |
download | mitmproxy-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.py | 2 |
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): |