Headers.append - Web documentation
method Headers.append
Headers.append(
name: string,
value: string,
): void

Appends a new value onto an existing header inside a Headers object, or adds the header if it does not already exist.

Parameters

name: string
value: string

Return Type

void