#35169: updated asgi handler for disconnects does not process ROOT_PATH
-------------------------------------+-------------------------------------
     Reporter:  Michael Smith        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Other)         |                  Version:  5.0
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  asgi, handler,       |             Triage Stage:
  root_path                          |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

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

Comment:

 Thanks for the report, however, I'm puzzled, `process_request()` has never
 accepted or passed a `scope` (even before
 1d1ddffc27cd55c011298cd09bfa4de3fa73cf7a), so how this can be a
 regression? Also, `scope` is an element of `request` so why you need to
 pass it separately and call `set_script_prefix()`. This should be already
 handled by
 
[https://github.com/django/django/blob/9cefdfc43f0bae696b56fa5a0bf22346f85affff/django/core/handlers/asgi.py#L172-L190
 ASGIHandler].
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35169#comment:3>
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/0107018d7e5c3cfa-41efdfdd-6ff0-48f0-86b1-90da421c40ce-000000%40eu-central-1.amazonses.com.

Reply via email to