diff options
| author | Jake Howard <git@theorangeone.net> | 2025-12-11 17:32:10 +0000 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-11 12:42:37 -0500 |
| commit | f8e55b39d43d70e406073a8b61dc912b9dfa4252 (patch) | |
| tree | 8c995bb3ee702404c7198d638545b30dd1a4d55e | |
| parent | 0129f40bef94b192fc9edcbe20a10c3b4b02f820 (diff) | |
[6.0.x] Included ASGI servers when noting what the server does.
Backport of 1651140a80e1b5e19784a6a859b6dd2e44c5d7f7 from main.
| -rw-r--r-- | docs/howto/auth-remote-user.txt | 2 | ||||
| -rw-r--r-- | docs/ref/request-response.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/auth-remote-user.txt b/docs/howto/auth-remote-user.txt index c5f53c5e07..533f460e4a 100644 --- a/docs/howto/auth-remote-user.txt +++ b/docs/howto/auth-remote-user.txt @@ -111,7 +111,7 @@ instead of :class:`django.contrib.auth.middleware.RemoteUserMiddleware`:: This warning doesn't apply to ``RemoteUserMiddleware`` in its default configuration with ``header = 'REMOTE_USER'``, since a key that doesn't start with ``HTTP_`` in ``request.META`` can only be set by your WSGI - server, not directly from an HTTP request header. + or ASGI server, not directly from an HTTP request header. If you need more control, you can create your own authentication backend that inherits from :class:`~django.contrib.auth.backends.RemoteUserBackend` and diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 892dc24008..5b0491463e 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -1062,7 +1062,7 @@ Methods .. method:: HttpResponse.close() This method is called at the end of the request directly by the WSGI - server. + or ASGI server. .. method:: HttpResponse.write(content) |
