#33754 closed Bug (fixed)
Request body is closed prematurely by the ASGI handler
| Reported by: | Jonas Lundberg | Owned by: | Jonas Lundberg |
|---|---|---|---|
| Component: | HTTP handling | Version: | 4.1 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The following PR https://github.com/django/django/pull/15675/ introduces I/O operation on closed file., due to closing the ASGI request body before getting the response, e.g. accessing request.body in a view.
Change History (6)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
| Has patch: | set |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:3 by , 3 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | Uncategorized → Bug |
Thanks!
Regression in 441103a04d1d167dc870eaaf90e3fba974f67c93.
comment:4 by , 3 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/15744