diff options
Diffstat (limited to 'docs')
| -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) |
