diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-09-17 13:58:56 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-09-17 13:58:56 +1200 |
commit | b4ecd96beb77a8bae02d82eac174dded198797a3 (patch) | |
tree | 1868202264b5e201338698b76dbed5104448ec28 /libmproxy/protocol/primitives.py | |
parent | 51db9a5612f0899ed61751dbee3f4e4b19a74ea4 (diff) | |
download | mitmproxy-b4ecd96beb77a8bae02d82eac174dded198797a3.tar.gz mitmproxy-b4ecd96beb77a8bae02d82eac174dded198797a3.tar.bz2 mitmproxy-b4ecd96beb77a8bae02d82eac174dded198797a3.zip |
Introduce short form object state, and connect the ends to send data to web app
Diffstat (limited to 'libmproxy/protocol/primitives.py')
-rw-r--r-- | libmproxy/protocol/primitives.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/protocol/primitives.py b/libmproxy/protocol/primitives.py index 77dc936d..3d87e888 100644 --- a/libmproxy/protocol/primitives.py +++ b/libmproxy/protocol/primitives.py @@ -78,8 +78,8 @@ class Flow(stateobject.StateObject): conntype=str ) - def get_state(self): - d = super(Flow, self).get_state() + def get_state(self, short=False): + d = super(Flow, self).get_state(short) d.update(version=version.IVERSION) return d |