Skip to content

Kirby 5.1.2

$response->setHeaderFallbacks()

Sets the provided headers in case they are not already set

$response->setHeaderFallbacks(array $headers): Kirby\Http\Response

Parameters

Name Type Default
$headersrequired array no default value

Return type

Kirby\Http\Response

This method modifies the existing $response object it is applied to and returns it again.

Parent class

Kirby\Http\Response