prevent KeyError from absent content-type header