aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-02-08 17:17:35 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-02-08 17:17:35 +1300
commita85974eaa88e1f63fda72e3df7a0ec3a0216a8e4 (patch)
tree1ea82cd7ba54e673792b1ce12a3a3962dde0d704 /test
parentb642b4870b9dee7fff608c599d82f38a87556d00 (diff)
downloadmitmproxy-a85974eaa88e1f63fda72e3df7a0ec3a0216a8e4.tar.gz
mitmproxy-a85974eaa88e1f63fda72e3df7a0ec3a0216a8e4.tar.bz2
mitmproxy-a85974eaa88e1f63fda72e3df7a0ec3a0216a8e4.zip
Fix flow initialization order error
Resolves #210
Diffstat (limited to 'test')
-rw-r--r--test/test_protocol_http.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_protocol_http.py b/test/test_protocol_http.py
index 3bf5af22..d2ba24de 100644
--- a/test/test_protocol_http.py
+++ b/test/test_protocol_http.py
@@ -44,7 +44,6 @@ class TestHTTPRequest:
r = HTTPRequest.from_stream(s)
assert r._assemble() == "CONNECT address:22 HTTP/1.1\r\nHost: address:22\r\n\r\n"
-
def test_absolute_form(self):
s = StringIO("GET oops-no-protocol.com HTTP/1.1")
tutils.raises("Bad HTTP request line", HTTPRequest.from_stream, s)