dasaintgray/granian ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast Rust based HTTP server for Python apps, something I can run from the command line to serve ASGI, RSGI, and WSGI applications.

I want it to handle HTTP 1 and HTTP 2, support websockets, serve static files directly, and include HTTPS plus mTLS. The CLI should let me choose host, port, interface type, HTTP version, workers, and the main runtime and loop options, with sensible defaults so a simple app can start easily. It should work with a basic Python app like Hello world and be able to run async and sync styles. Please include the important user facing docs and a few tests so I can see how to use it and verify the main behaviors.

If anything is unclear in the current docs, check the latest Python server and ASGI docs online before filling in the gaps.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab