Description
Simulates HTTP responses for code that uses Python Requests, so tests can run without contacting real servers. Developers can define expected URLs, status codes, headers, bodies, and failures to check how their application behaves.
This is a testing library, not a user-facing app. It helps make network code safer to test, but test doubles must still match the real service closely enough to catch important integration problems.