django / asgiref

ASGI specification and utilities
https://asgi.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.48k stars 210 forks source link

Remove constraints about waiting for body to send response #387

Closed Kludex closed 1 year ago

Kludex commented 1 year ago

The other day I noticed those words in the spec, and neither Uvicorn or the Starlette TestClient are following this "wait for body" constraints.

This looks like it was inherited from WSGI? (I'm not sure)

Fixes #388

andrewgodwin commented 1 year ago

Yes, it was indeed inherited from WSGI! I think it's fine to remove it given it's not followed and the world hasn't collapsed :)

Kludex commented 1 year ago

Thanks Andrew 🙏

kristjanvalur commented 1 year ago

Well, that clears that up :)