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

web_response.Response.prepared is False after write_eof() #5343

Closed
arthurdarcet opened this issue Dec 14, 2020 · 1 comment · Fixed by #5344
Closed

web_response.Response.prepared is False after write_eof() #5343

arthurdarcet opened this issue Dec 14, 2020 · 1 comment · Fixed by #5344
Labels

Comments

@arthurdarcet
Copy link
Contributor

web_response.Response.prepared is False after write_eof() (the payload writer goes back to None).

This is a bit mis-leading - any reason not to change Response.prepared to self._eof_sent or self._payload_writer is not None?

@asvetlov
Copy link
Member

This is the oversight, sure.

Please feel free to make a pull request.

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

Successfully merging a pull request may close this issue.

2 participants