#34989: Set Content-Length where possible for HttpResponses. -------------------------------------+------------------------------------- Reporter: Jeppe Fihl-Pearson | Owner: Ronan LE Type: | HAY Cleanup/optimization | Status: assigned Component: HTTP handling | Version: 4.2 Severity: Normal | Resolution: Keywords: CommonMiddleware | Triage Stage: Accepted uWSGI | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Ronan LE HAY):
* has_patch: 0 => 1 * owner: Anders Kaseorg => Ronan LE HAY * status: new => assigned Comment: Hello! I also encountered problems due to the absence of the `Content-Length` header during a redirect with APPEND_SLASH and after some research I came across this issue. The latest comments on this issue seem to be in favor of modifying the code to add this header, so since the issue hasn't changed for many months now, I'm proposing this [https://github.com/django/django/pull/19805 PR]. Thank you in advance for your feedback. -- Ticket URL: <https://code.djangoproject.com/ticket/34989#comment:14> 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 view this discussion visit https://groups.google.com/d/msgid/django-updates/0107019906cd2cc4-c8482919-ba60-4f40-ba65-4f3782cd2c57-000000%40eu-central-1.amazonses.com.