diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-27 12:52:18 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:28 +0100 |
commit | 6d3b3994e27b3cd97c74612bc64c7e0457aeb448 (patch) | |
tree | 2dcdd32b653f6a100e47861dc296e60efeeca90e /libmproxy/utils.py | |
parent | 64978968f2383988511dc7021ecd9892f098f723 (diff) | |
download | mitmproxy-6d3b3994e27b3cd97c74612bc64c7e0457aeb448.tar.gz mitmproxy-6d3b3994e27b3cd97c74612bc64c7e0457aeb448.tar.bz2 mitmproxy-6d3b3994e27b3cd97c74612bc64c7e0457aeb448.zip |
code formatting
Diffstat (limited to 'libmproxy/utils.py')
-rw-r--r-- | libmproxy/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmproxy/utils.py b/libmproxy/utils.py index 299e8749..5b1c41f1 100644 --- a/libmproxy/utils.py +++ b/libmproxy/utils.py @@ -174,6 +174,7 @@ def safe_subn(pattern, repl, target, *args, **kwargs): """ return re.subn(str(pattern), str(repl), target, *args, **kwargs) + def http2_read_frame(rfile): field = rfile.peek(3) length = int(field.encode('hex'), 16) |