Removed code duplication and prevents mutating passed in header_fields
Removed code duplication and prevents mutating passed in header_fields

pallets/itsdangerous,mitsuhiko/itsdangerous,mitsuhiko/itsdangerous,rootcanal/itsdangerous