Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant import HTTPRequest (mitmproxy should be set to 0.12.0 in requirements.txt) #3

Open
z333d opened this issue Mar 2, 2016 · 2 comments

Comments

@z333d
Copy link

z333d commented Mar 2, 2016

from libmproxy.protocol.http import HTTPRequest, HTTPResponse
ImportError: cannot import name HTTPRequest

@PeterParker
Copy link
Contributor

👍

Version 0.13.0 of mitmproxy is a later version that works for me, though.

PeterParker added a commit to PeterParker/mockpy that referenced this issue Mar 16, 2016
nsomar added a commit that referenced this issue Apr 15, 2016
Refs #3 - Restrict version of mitmproxy.
@nsomar
Copy link
Owner

nsomar commented Apr 15, 2016

@ZedZhou I just merged a pr from @PeterParker which addresses this issue :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants