Skip to content

Does uvicorn support pathsend? #2286

Answered by gi0baro
multimeric asked this question in Q&A
Discussion options

You must be logged in to vote

@multimeric pathsend was proposed and added to ASGI spec by me to allow ASGI frameworks/apps to benefit from servers implementing such standard. The proposal was mainly driven by the existence of a similar behaviour in RSGI protocol.

Uvicorn doesn't support it, but it probably won't benefit at all from it, as pathsend is mainly designed for servers which are not written in Python. In order to support pathsend Uvicorn would implement the same Python code your application/framework already implement, behaving in the exact same way, and being limited by the same stack (GIL, Python objects, etc.).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@multimeric
Comment options

@gi0baro
Comment options

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants