I've used `headers['content-type']` for the areas I've touched; a future PR should convert all of them.