Commit e81637eb authored by Denis Bilenko's avatar Denis Bilenko

pywsgi: fix Issue 40: combine multiple cookie headers via ';', not ','

parent d71ec380
......@@ -448,7 +448,10 @@ class WSGIHandler(object):
value = value.strip()
key = 'HTTP_' + key
if key in env:
env[key] += ',' + value
if 'COOKIE' in key:
env[key] += '; ' + value
else:
env[key] += ',' + value
else:
env[key] = value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment