Explicitly set content-type on error