Skip to main content
Headers.append - Fetch - Web documentation
method Headers.append
Private
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