httpretty
https://github.com/gabrielfalcao/httpretty
Python
Intercept HTTP requests at the Python socket level. Fakes the whole socket module
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported0 Subscribers
Add a CodeTriage badge to httpretty
Help out
- Issues
- httpretty.errors.UnmockedError: Failed to socket.setblocking because because a real socket does not exist
- test_httpretty_should_handle_paths_starting_with_two_slashes needs update
- 1.1.4: Tests are failing on s390x because of "did not run within two miliseconds"
- Support for different content encodings or raw bodies
- Can't use file like object for data in python3
- An ANY method that matches any method
- parsed_body doesn't work with py26
- When URL regex patterns conflict, there is no control over the matching order
- Infinite recursion with python 3.4.2
- Unable to install on Python3 if either LANG not set or specified locale not installed.
- Docs
- Python not yet supported