Adds the key, value pair to the header. It appends to any existing values associated with key.
key to store
value to store
Deletes the values associated with key.
key to delete
Gets the first value associated with the given key. If there are no values associated with the key, returns empty string.
key to get
Returns all header names.
Sets the header entries associated with key to the single element value. It replaces any existing values associated with key.
key to set
value to set
Returns all values associated with the given key.
key to return
Represents the key-value pairs in an HTTP header.