wsgi content fixes