#15613: django.views.static.serve gives incorrect Content-Length with 
non-regular
files
-------------------------------+------------------------------------
     Reporter:  James Aylett   |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  Uncategorized  |                  Version:  1.3-beta
     Severity:  Normal         |               Resolution:  fixed
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by James Aylett):

 For any Unixoid, you should be create a named pipe somewhere in a
 temporary location (although I suspect it won't be able to use secure
 filename creation), shove some data into it, then it should be pretty easy
 to drive `serve()` appropriately. I've no idea if Windows has an
 equivalent non-regular file that we'd want to test.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15613#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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.48ee3c9a2741f0084075569e1c004b67%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to