diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-21 08:47:19 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-21 08:47:19 +1300 |
commit | deb79a9c5a1794ffa5f67fdefdfe24b42eeef9f4 (patch) | |
tree | edaf10641a819f509b1d091703eaaabc02ab91cc /test/test_netstring.py | |
parent | aa161945180cdd078317e8679eaffe383b72304b (diff) | |
download | mitmproxy-deb79a9c5a1794ffa5f67fdefdfe24b42eeef9f4.tar.gz mitmproxy-deb79a9c5a1794ffa5f67fdefdfe24b42eeef9f4.tar.bz2 mitmproxy-deb79a9c5a1794ffa5f67fdefdfe24b42eeef9f4.zip |
Add a simple server playback state object.
We use a loose hash to match incoming requests with recorded flows. At the
moment, this hash is over the host, port, scheme, method, path and content of
the request. Note that headers are not included here - if we do want to include
headers, we would have to do some work to normalize them to remove variations
between user agents, header order, etc. etc.
Diffstat (limited to 'test/test_netstring.py')
-rw-r--r-- | test/test_netstring.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_netstring.py b/test/test_netstring.py index 5146d150..48285960 100644 --- a/test/test_netstring.py +++ b/test/test_netstring.py @@ -3,7 +3,6 @@ from cStringIO import StringIO import libpry - class uNetstring(libpry.AutoTree): def setUp(self): self.test_data = "Netstring module by Will McGugan" |