mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix comment typos
In wsgi.py
This commit is contained in:
parent
e1aa8068e4
commit
ad07bccb4e
@ -126,7 +126,7 @@ def create(req, sock, client, server, cfg):
|
|||||||
and client[0] not in cfg.forwarded_allow_ips):
|
and client[0] not in cfg.forwarded_allow_ips):
|
||||||
secure_headers = {}
|
secure_headers = {}
|
||||||
|
|
||||||
# add the headers tot the environ
|
# add the headers to the environ
|
||||||
for hdr_name, hdr_value in req.headers:
|
for hdr_name, hdr_value in req.headers:
|
||||||
if hdr_name == "EXPECT":
|
if hdr_name == "EXPECT":
|
||||||
# handle expect
|
# handle expect
|
||||||
@ -151,7 +151,7 @@ def create(req, sock, client, server, cfg):
|
|||||||
hdr_value = "%s,%s" % (environ[key], hdr_value)
|
hdr_value = "%s,%s" % (environ[key], hdr_value)
|
||||||
environ[key] = hdr_value
|
environ[key] = hdr_value
|
||||||
|
|
||||||
# set the url schejeme
|
# set the url scheme
|
||||||
environ['wsgi.url_scheme'] = url_scheme
|
environ['wsgi.url_scheme'] = url_scheme
|
||||||
|
|
||||||
# set the REMOTE_* keys in environ
|
# set the REMOTE_* keys in environ
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user