pytest-httpserver icon indicating copy to clipboard operation
pytest-httpserver copied to clipboard

Http server for pytest to test http clients

Results 20 pytest-httpserver issues
Sort by recently updated
recently updated
newest added

- release_notes: add release note about the blocking httpserver - Version bump to 1.0.6 - CHANGES.rst: add release notes for 1.0.6

Hi, I have a system with 2 independent interfaces: A System under test (SUT) B A typical communication sequence looks like: A sends request to SUT that triggers that SUT...

Has anyone looked into running the server asynchronously? I've got client code that runs using `aiohttp` and when I'm testing connections that timeout (using `httpserver.expect_request(f"/{path}", method="POST").respond_with_handler(timeout)`) it looks like the...

Hi there, first off, thank you for the great project! I have run into an issue multiple times and I am wondering if I am using the plugin wrong. When...

Make the project compatible with gitpod https://www.gitpod.io/

In many cases, the parameters for expect_request() is very long, especially when multiple headers are specified or the request have a long data or json in its body. In such...

Add proxy support so the code which needs to be tested can use the server in proxy mode. It means that a slightly different requests needs to be handled, in...

Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...

dependencies
python

Hi, thanks for the great project! There's one thing that keeps tripping me up and that's when I want to return multiple responses after each request. For example, to exercise...

updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)