Skip to content

Uvicorn HTTParse

The uvicorn-httparse package uses httparse to parse HTTP requests in Uvicorn.

httparse is a Python binding of a Rust library that gives its name.

Installation

pip install uvicorn-httparse

Usage

import uvicorn
import uvicorn_httparse

if __name__ == "__main__":
    uvicorn.run("app:app", http=uvicorn_httparse.HttparseProtocol)

For more details, see the Uvicorn documentation.

License

This project is licensed under the terms of the MIT license.