make sure that the port is a string. close #271 thanks!!

This commit is contained in:
benoitc 2011-10-05 06:07:05 +02:00
parent f2d9bf6b77
commit 99d85e9cce

View File

@ -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: