diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/test/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/test/client.py b/django/test/client.py index d44e30ff56..766b60863f 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -901,6 +901,7 @@ class ClientMixin: extra["wsgi.url_scheme"] = url.scheme if url.hostname: extra["SERVER_NAME"] = url.hostname + extra["HTTP_HOST"] = url.hostname if url.port: extra["SERVER_PORT"] = str(url.port) |
