append method
Appends a new value to an already existing header inside a Headers object. If the header doesn't exist, append creates a new header for the Headers object.
Syntax
Headers.append(name);
Parameters
name [in]
Type: ByteStringName of the HTTP header to be added to the Headers object.
value [out]
Type: ByteStringValue of the HTTP header to be added.
Return value
This method does not return a value.
Standards information
Remarks
In the case of a header that accepts multiple values, the append method adds the value to the end of the header's set. The set method overrides the value within a header.