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
- Why always return "connection": "close" in response header ? It is a bug ?
- Document example of how to fake a file download
- Problems with requests that are Connection: keep-alive
- Example Basic Auth Tests
- fake_getaddrinfo hardcoded socket.AF_INET doesn't work in ipv6-only environment
- Wrong status header in response
- HTTPretty does not patch when requests.Session was already used with the same domain
- Update python_requires in setup.py
- implement context manager for socket.socket
- Make extract_from_urllib3 a function when it's not present
- Docs
- Python not yet supported