#28786: Content-Length mismatch on Chrome
-------------------------------------+-------------------------------------
Reporter: spudnica | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Other) | Version: 1.11
Severity: Normal | Resolution:
Keywords: content-length, | Triage Stage:
commonMiddleware, development- | Unreviewed
server |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by spudnica):
Error is related to middleware order. If the content-length is modified
after calculations (and in my case it was) comparison between values
always returns False. I guess it affects everyone with apps like django-
livereload or similar apps, which injects content into site. Is this
header necessary to exist because of security?
Its worth to add info about order of middlewares to release notes of
version 1.11, to prevent people from digging through internet.
--
Ticket URL: <https://code.djangoproject.com/ticket/28786#comment:5>
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/066.36b617b9c103c514f7b358d782e2cd1b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.