aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-04-02 22:54:46 +0200
committerMaximilian Hils <git@maximilianhils.com>2016-04-02 22:54:46 +0200
commit35a6d6e7f67f8253a32a670a4629b530d7758650 (patch)
tree4dd7e1abd69c9ee2559d45fbdc3bfee4f8167039 /examples
parenta267934d99e2e5d561a71ee3bc3944ddb6f6ce53 (diff)
downloadmitmproxy-35a6d6e7f67f8253a32a670a4629b530d7758650.tar.gz
mitmproxy-35a6d6e7f67f8253a32a670a4629b530d7758650.tar.bz2
mitmproxy-35a6d6e7f67f8253a32a670a4629b530d7758650.zip
response.msg -> response.reason
Diffstat (limited to 'examples')
-rw-r--r--examples/har_extractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/har_extractor.py b/examples/har_extractor.py
index 15e1ef30..371e2282 100644
--- a/examples/har_extractor.py
+++ b/examples/har_extractor.py
@@ -143,7 +143,7 @@ def response(context, flow):
},
"response": {
"status": flow.response.status_code,
- "statusText": flow.response.msg,
+ "statusText": flow.response.reason,
"httpVersion": flow.response.http_version,
"cookies": format_cookies(flow.response.cookies),
"headers": format_headers(flow.response.headers),