Check if the name of this header is the same as the given one.
Check if the name of this header is the same as the given one. The names are compared in a case-insensitive way.
Representation in the format: [name]: [value].
An HTTP header. The
nameproperty is case-insensitive during equality checks.The
nameandvalueshould be already encoded (if necessary), as when serialised, they end up unmodified in the header.