#29278: FileResponse documentation should warn against using context managers
-------------------------------------+-------------------------------------
     Reporter:  Mike DePalatis       |                    Owner:  Windson
         Type:                       |  yang
  Cleanup/optimization               |                   Status:  assigned
    Component:  Documentation        |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

 * needs_better_patch:  0 => 1
 * has_patch:  0 => 1


Comment:

 I think it's useful for users to know `FileResponse` will close the file
 itself, and that it's not possible to close the file before the response
 has finished streaming it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29278#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.423da94963f5c1747d6689793e213ac4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to