#32159: AsyncTestClient does not respect extra headers.
-------------------------------------+-------------------------------------
Reporter: Ryan Vinzent | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 3.1
Severity: Release blocker | Resolution:
Keywords: AsyncTestClient, | Triage Stage: Accepted
AsyncRequestFactory |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* cc: Andrew Godwin, Carlton Gibson (added)
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
Thanks for this report. It looks that we should update the
[https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-
scope scope headers] not the main scope with `extra`, see
[https://github.com/django/django/blob/d1791539a7d86739cd44c909fa8239cae7f85874/django/test/client.py#L534-L547
AsyncRequestFactory.generic()]. Andrew, Can you confirm?
--
Ticket URL: <https://code.djangoproject.com/ticket/32159#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 on the web visit
https://groups.google.com/d/msgid/django-updates/066.e3a05a515c3443e6df8c0c336d924078%40djangoproject.com.