aboutsummaryrefslogtreecommitdiffstats
path: root/examples/har_extractor.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2016-04-03 10:14:06 +0200
committerThomas Kriechbaumer <Kriechi@users.noreply.github.com>2016-04-03 10:14:06 +0200
commit94342891ee17c1647e5071d6591ad413b6650473 (patch)
tree4dd7e1abd69c9ee2559d45fbdc3bfee4f8167039 /examples/har_extractor.py
parenta267934d99e2e5d561a71ee3bc3944ddb6f6ce53 (diff)
parent35a6d6e7f67f8253a32a670a4629b530d7758650 (diff)
downloadmitmproxy-94342891ee17c1647e5071d6591ad413b6650473.tar.gz
mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.tar.bz2
mitmproxy-94342891ee17c1647e5071d6591ad413b6650473.zip
Merge pull request #1072 from mitmproxy/remove-response-msg
response.msg -> response.reason
Diffstat (limited to 'examples/har_extractor.py')
-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),