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

Consider using gunicorn as internal server instead of wsgiref

Open kevin1024 opened this issue 9 years ago • 2 comments

httpbin is deployed in production using gunicorn. The intent of pytest-httpbin is to provide a local copy of the hosted version of httpbin. Therefore, to keep everything as similar as possible, I should probably use gunicorn as the web server instead of wsgiref.

kevin1024 avatar Oct 22 '15 19:10 kevin1024

gunicorn doesn't run on windows, so I'd probably go for waitress instead

graingert avatar Jul 31 '24 08:07 graingert

Ah waitress doesn't support Https. Maybe uvicorn+asgiref.WsgiToAsgi will work here

graingert avatar Jul 31 '24 08:07 graingert