diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-26 17:39:50 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-26 17:39:50 +0200 |
commit | 49ea8fc0ebcfe4861f099200044a553f092faec7 (patch) | |
tree | 8b5d9db62503a6e0125d0e6dbd708c6482aa5bf4 /netlib/tutils.py | |
parent | 106f7046d3862cb0e3cbb4f38335af0330b4e7e3 (diff) | |
download | mitmproxy-49ea8fc0ebcfe4861f099200044a553f092faec7.tar.gz mitmproxy-49ea8fc0ebcfe4861f099200044a553f092faec7.tar.bz2 mitmproxy-49ea8fc0ebcfe4861f099200044a553f092faec7.zip |
refactor response model
Diffstat (limited to 'netlib/tutils.py')
-rw-r--r-- | netlib/tutils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netlib/tutils.py b/netlib/tutils.py index ff63c33c..e16f1a76 100644 --- a/netlib/tutils.py +++ b/netlib/tutils.py @@ -120,9 +120,9 @@ def tresp(**kwargs): default = dict( http_version=b"HTTP/1.1", status_code=200, - msg=b"OK", - headers=Headers(header_response=b"svalue"), - body=b"message", + reason=b"OK", + headers=Headers(header_response="svalue"), + content=b"message", timestamp_start=time.time(), timestamp_end=time.time(), ) |