diff options
Diffstat (limited to 'examples/har_extractor.py')
-rw-r--r-- | examples/har_extractor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/har_extractor.py b/examples/har_extractor.py index bc784dc4..f16f1909 100644 --- a/examples/har_extractor.py +++ b/examples/har_extractor.py @@ -128,7 +128,7 @@ def response(context, flow): request_query_string = [{"name": k, "value": v} for k, v in flow.request.get_query()] - request_http_version = ".".join([str(v) for v in flow.request.httpversion]) + request_http_version = flow.request.httpversion # Cookies are shaped as tuples by MITMProxy. request_cookies = [{"name": k.strip(), "value": v[0]} for k, v in (flow.request.get_cookies() or {}).iteritems()] |