#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 Florian Apolloner):

 I just looked at the PR and there might be a point to move
 
https://github.com/andersk/django/blob/de1ee5ee0ba51229ec8ceb7146173533f45ace51/django/middleware/common.py#L114
 into our WSGI handler because the middleware does not have to be active.
 Whether this would mean that `HTTPResponse` should have a `__len__` or we
 simply add logic in the wsgi handler, I am not sure yet. The PR as it
 stands now is not the proper fix though I think.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34989#comment:9>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018bf8756271-debcdeaf-0884-4b88-8519-d1624e90f0d9-000000%40eu-central-1.amazonses.com.

Reply via email to