#24158: Static serve failure since 1.4.18
--------------------------------------+------------------------------------
Reporter: TheRealEckat | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.4
Severity: Normal | Resolution:
Keywords: development | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by TheRealEckat):
Replying to [comment:2 timgraham]:
> I can't reproduce this problem on Python 2.7; serving files seems to
work just fine. What version of Python are you using? Are you using a
browser to request the files or something else?
I use python 2.7.
A colleague can reproduce this problem.
I located a potential problem with the middlewares, but I commented them
one by one out.
After first middleware, the length od the response is always zero.
The first two one in my settings are custom middlewares, but the third is
the django CsrfViewMiddleware. This middleware does the same, the response
length is then zero.
Thanks for the hint with the documentation of django 1.5, I'll check it on
monday.
--
Ticket URL: <https://code.djangoproject.com/ticket/24158#comment:4>
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/070.913729a46df791819209b27202eda474%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.