diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 15:16:12 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 15:16:12 +0200 |
commit | 8d71059d77c2dd1d9858d7971dd0b6b4387ed9f4 (patch) | |
tree | 831f47cfd19e7d58c0f31b0a924832d421d4eb52 /netlib/tutils.py | |
parent | a07e43df8b3988f137b48957f978ad570d9dc782 (diff) | |
download | mitmproxy-8d71059d77c2dd1d9858d7971dd0b6b4387ed9f4.tar.gz mitmproxy-8d71059d77c2dd1d9858d7971dd0b6b4387ed9f4.tar.bz2 mitmproxy-8d71059d77c2dd1d9858d7971dd0b6b4387ed9f4.zip |
clean up http message models
Diffstat (limited to 'netlib/tutils.py')
-rw-r--r-- | netlib/tutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/tutils.py b/netlib/tutils.py index 05791c49..b69495a3 100644 --- a/netlib/tutils.py +++ b/netlib/tutils.py @@ -105,7 +105,7 @@ def treq(**kwargs): host=b"address", port=22, path=b"/path", - httpversion=b"HTTP/1.1", + http_version=b"HTTP/1.1", headers=Headers(header=b"qvalue"), body=b"content" ) @@ -119,7 +119,7 @@ def tresp(**kwargs): netlib.http.Response """ default = dict( - httpversion=b"HTTP/1.1", + http_version=b"HTTP/1.1", status_code=200, msg=b"OK", headers=Headers(header_response=b"svalue"), |