mockpy
mockpy copied to clipboard
cant import HTTPRequest (mitmproxy should be set to 0.12.0 in requirements.txt)
from libmproxy.protocol.http import HTTPRequest, HTTPResponse ImportError: cannot import name HTTPRequest
:+1:
Version 0.13.0 of mitmproxy
is a later version that works for me, though.
@zedzhou I just merged a pr from @PeterParker which addresses this issue :).