wsgi.py remove head tag