Added addon to suppress the sending of 502 Bad Gateway response… (#4299)
Added addon to suppress the sending of 502 Bad Gateway response… (#4299)

* WIP: Added option to suppress the sending of 502 Bad Gateway responses if the server is not responding

* Revert "WIP: Added option to suppress the sending of 502 Bad Gateway responses if the server is not responding"

This reverts commit 21b74f38b7ddeb63c5070cb4ca4928d3c37d12fe.

* Added addon which suppresses the bad gateway error messages sent by mitmproxy

* fix type annotation

Co-authored-by: Maximilian Hils <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@maximilianhils.com>
mitmproxy/mitmproxy,Kriechi/mitmproxy,mhils/mitmproxy,Kriechi/mitmproxy,mitmproxy/mitmproxy,mitmproxy/mitmproxy,Kriechi/mitmproxy,mitmproxy/mitmproxy,mhils/mitmproxy,mhils/mitmproxy,mhils/mitmproxy,Kriechi/mitmproxy,mitmproxy/mitmproxy,mhils/mitmproxy