mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Zap outdated comment
This commit is contained in:
parent
dabb356c15
commit
ace4454523
@ -327,9 +327,7 @@ class Frame(object):
|
|||||||
|
|
||||||
def to_bytes(self):
|
def to_bytes(self):
|
||||||
"""
|
"""
|
||||||
Serialize the frame back into the wire format, returns a bytestring
|
Serialize the frame to wire format. Returns a string.
|
||||||
If you haven't checked is_valid_frame() then there's no guarentees
|
|
||||||
that the serialized bytes will be correct. see safe_to_bytes()
|
|
||||||
"""
|
"""
|
||||||
b = self.header.to_bytes()
|
b = self.header.to_bytes()
|
||||||
if self.header.masking_key:
|
if self.header.masking_key:
|
||||||
|
Loading…
Reference in New Issue
Block a user