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 is not thread-safe
- register_uri 'uri' argument matches all urls regardless of the actual request being made
- Incorrect parsing of `querystring` for double-encoded query parameters
- Peformance Issue when handling streamed request
- 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
- Docs
- Python not yet supported