When using `mitmproxy` 7.0.3 I see this error intermittently. The `mitmproxy` API seems to have changed and the syntax is now `http.Response.make()`. I'll submit a PR.