Sets the header name to value.
name
value
Removes all existing values for the header named name and then adds value to it.
void set(String name, Object value, {bool preserveHeaderCase = false});