removed setChunkMode which doesn't work with keystone as wsgi inside apache