#36300: request.META["HTTP_" + self.header] in RemoteUserMiddleware __acall__ 
does
not sound correct
-------------------------------+--------------------------------------
     Reporter:  Jan Pazdziora  |                    Owner:  (none)
         Type:  Uncategorized  |                   Status:  closed
    Component:  contrib.auth   |                  Version:  5.2
     Severity:  Normal         |               Resolution:  needsinfo
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Sarah Boyce):

 * cc: Jon Janzen, Carlton Gibson (added)
 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 There are tests such as
 `tests.auth_tests.test_remote_user.RemoteUserTest.test_known_user_async`
 If the HTTP prefix is removed, the tests fail.

 You will need to demonstrate an issue that we can replicate so that we can
 better understand the request here.

 I think really this is a discussion around that WSGI adds a `HTTP_` prefix
 but ASGI does not (see `HttpHeaders.to_wsgi_name` vs
 `HttpHeaders.to_asgi_name`)
 I will cc some other folks to the ticket in case they have thoughts to add
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36300#comment:1>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019601a1892f-1ecbdc56-29ce-4454-b82a-12ee2f7aa2ee-000000%40eu-central-1.amazonses.com.

Reply via email to