Allow response without content-type to pass through the middleware
Merge branch 'fix_no_content_type_response' into localwiki
fix no-content-type response