Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove constraints about waiting for body to send response #387

Merged
merged 1 commit into from
May 2, 2023
Merged

Remove constraints about waiting for body to send response #387

merged 1 commit into from
May 2, 2023

Conversation

Kludex
Copy link
Contributor

@Kludex Kludex commented May 2, 2023

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

@Kludex Kludex changed the title Update www.rst Remove constraints about waiting for body to send response May 2, 2023
@andrewgodwin
Copy link
Member

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 :)

@andrewgodwin andrewgodwin merged commit c3d70c3 into django:main May 2, 2023
6 checks passed
@Kludex Kludex deleted the patch-4 branch May 2, 2023 21:21
@Kludex
Copy link
Contributor Author

Kludex commented May 2, 2023

Thanks Andrew 🙏

@kristjanvalur
Copy link
Contributor

Well, that clears that up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarification about response.start/response.body
3 participants