Quick fix to better handle missing response.content_type.  Avoids breaking recent versions of the pyramid debug toolbar