Make header handling for upload case-insensitive.