From 6da1db750c7fc105d1d312fe6520e1b1f9d32567 Mon Sep 17 00:00:00 2001 From: Yoann L Date: Tue, 29 Oct 2019 12:38:11 +0100 Subject: [PATCH] missed a type ignore, for mypy compliance --- mitmproxy/addons/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/addons/export.py b/mitmproxy/addons/export.py index 744db0fc9..cc698f9c0 100644 --- a/mitmproxy/addons/export.py +++ b/mitmproxy/addons/export.py @@ -14,7 +14,7 @@ import pyperclip def cleanup_request(f: flow.Flow): if not hasattr(f, "request"): raise exceptions.CommandError("Can't export flow with no request.") - request = f.request.copy() + request = f.request.copy() # type: ignore request.decode(strict=False) # a bit of clean-up if ('content-length' in request.headers.keys() and