Refs #38, fix pywsgi headers issue in PY3
Merge pull request #383 from fantix/pywsgi

Refs #38, fix pywsgi headers issue in PY3