aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/websockets.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-16 11:32:18 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-16 11:32:18 +1200
commitace4454523a81303b6432714f8ff73dab02a7e33 (patch)
tree2c6f3e2df3768c06d0dc51c32b0a57e59bade0e0 /netlib/websockets.py
parentdabb356c15bf0e51ae37b3c5fb3c04fd5b944afd (diff)
downloadmitmproxy-ace4454523a81303b6432714f8ff73dab02a7e33.tar.gz
mitmproxy-ace4454523a81303b6432714f8ff73dab02a7e33.tar.bz2
mitmproxy-ace4454523a81303b6432714f8ff73dab02a7e33.zip
Zap outdated comment
Diffstat (limited to 'netlib/websockets.py')
-rw-r--r--netlib/websockets.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/netlib/websockets.py b/netlib/websockets.py
index 6d08e101..a2d55c19 100644
--- a/netlib/websockets.py
+++ b/netlib/websockets.py
@@ -327,9 +327,7 @@ class Frame(object):
def to_bytes(self):
"""
- Serialize the frame back into the wire format, returns a bytestring
- If you haven't checked is_valid_frame() then there's no guarentees
- that the serialized bytes will be correct. see safe_to_bytes()
+ Serialize the frame to wire format. Returns a string.
"""
b = self.header.to_bytes()
if self.header.masking_key: