#34989: APPEND_SLASH redirects much slower in Django 4.2 when used with uWSGI's
http11-socket
-------------------------------------+-------------------------------------
Reporter: Jeppe Fihl-Pearson | Owner: Anders
| Kaseorg
Type: Bug | Status: closed
Component: HTTP handling | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: CommonMiddleware | Triage Stage:
uWSGI | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Anders Kaseorg):
So let’s fix it in both Django and uWSGI? Even after uWSGI is fixed, we
want Django to send `Content-Length` anyway when possible, because
`Content-Length` is more efficient than the alternatives, and uWSGI isn’t
in a position to generate `Content-Length` because `HttpResponse` doesn’t
have a `len()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/34989#comment:8>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018bf872dada-f10f3913-a51b-4ead-96cf-48fa26600d70-000000%40eu-central-1.amazonses.com.