The get() method of the Headers interface returns a byte string of all the values of a header within a Headers object with a given name.
The getSetCookie() method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response.
The has() method of the Headers interface returns a boolean stating whether a Headers object contains a certain header.
The set() method of the Headers interface sets a new value for an existing header inside a Headers object, or adds the header if it does not already exist.
The append() method of the Headers interface appends a new value onto an existing header inside a Headers object, or adds the header if it does not already exist.
Optionalvalue: string | string[]
The
delete()method of the Headers interface deletes a header from the currentHeadersobject.MDN Reference