mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
make sure that the port is a string. close #271 thanks!!
This commit is contained in:
parent
f2d9bf6b77
commit
99d85e9cce
@ -133,7 +133,7 @@ def create(req, sock, client, server, cfg):
|
||||
else:
|
||||
server.append('')
|
||||
environ['SERVER_NAME'] = server[0]
|
||||
environ['SERVER_PORT'] = server[1]
|
||||
environ['SERVER_PORT'] = str(server[1])
|
||||
|
||||
path_info = req.path
|
||||
if script_name:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user