From 08a81c81be002ce6cc179c743a4c5fcaa8eb3d32 Mon Sep 17 00:00:00 2001 From: Matt Bendiksen Date: Thu, 16 Mar 2023 05:13:17 -0500 Subject: [PATCH] scheme arg to create the redirect should be 'https' (#2712) --- examples/http_redirect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http_redirect.py b/examples/http_redirect.py index 50a79d81ad..0632279f52 100644 --- a/examples/http_redirect.py +++ b/examples/http_redirect.py @@ -29,7 +29,7 @@ def proxy(request, path): path=path, _server=https.config.SERVER_NAME, _external=True, - _scheme="http", + _scheme="https", ) return response.redirect(url)