#5596: "No buffer space available" error when downloading file
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: nobody
Status: new | Component: HTTP handling
Version: SVN | Resolution:
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------+--------------------------------------------------
Comment (by anonymous):
Yes, but it's not me but the {{{django.views.static.serve()}}} function. I
created a patch (including test cases) to work around the problem.
Hopefully, this problem will not occur on a production server which will
not use the above function to serve static files. Still, it should work in
development mode, too.
When writing the test, I noticed that files with unknown file extensions
are served as {{{text/html}}}. A better default would IMHO be
{{{application/octet-stream}}}, so I changed this, too. As both changes
are in the same files, I didn't really know how to split the patch.
--
Ticket URL: <http://code.djangoproject.com/ticket/5596#comment:2>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---