diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-11 16:13:22 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-15 15:51:01 +0200 |
commit | a0d8afd0fcc3c678da0dc956c5a80d4e07d5ac3e (patch) | |
tree | cf3b842c1ad8f7a75d6eb2ffa8063b5385407b5a /test/test_language_http2.py | |
parent | 30fbf57e4b72e3947c323d98aee7b2d44663e33c (diff) | |
download | mitmproxy-a0d8afd0fcc3c678da0dc956c5a80d4e07d5ac3e.tar.gz mitmproxy-a0d8afd0fcc3c678da0dc956c5a80d4e07d5ac3e.tar.bz2 mitmproxy-a0d8afd0fcc3c678da0dc956c5a80d4e07d5ac3e.zip |
http2: add request-response to pathod
Diffstat (limited to 'test/test_language_http2.py')
-rw-r--r-- | test/test_language_http2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_language_http2.py b/test/test_language_http2.py index de3e5cf9..3c751fd1 100644 --- a/test/test_language_http2.py +++ b/test/test_language_http2.py @@ -1,5 +1,6 @@ import cStringIO +from netlib import tcp from libpathod import language from libpathod.language import http2, base import netlib @@ -64,7 +65,7 @@ class TestRequest: s, language.Settings( request_host = "foo.com", - protocol = netlib.http2.HTTP2Protocol(None) + protocol = netlib.http2.HTTP2Protocol(tcp.TCPClient(('localhost', 1234))) ) ) |