From ad07bccb4e582f6dcba0433115271824cc85fde9 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Wed, 27 May 2015 14:29:12 +0100 Subject: [PATCH] Fix comment typos In wsgi.py --- gunicorn/http/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/http/wsgi.py b/gunicorn/http/wsgi.py index d9cef761..2ca24266 100644 --- a/gunicorn/http/wsgi.py +++ b/gunicorn/http/wsgi.py @@ -126,7 +126,7 @@ def create(req, sock, client, server, cfg): and client[0] not in cfg.forwarded_allow_ips): secure_headers = {} - # add the headers tot the environ + # add the headers to the environ for hdr_name, hdr_value in req.headers: if hdr_name == "EXPECT": # handle expect @@ -151,7 +151,7 @@ def create(req, sock, client, server, cfg): hdr_value = "%s,%s" % (environ[key], hdr_value) environ[key] = hdr_value - # set the url schejeme + # set the url scheme environ['wsgi.url_scheme'] = url_scheme # set the REMOTE_* keys in environ