$file->header()
Sends an appropriate header for the asset
$file->header(bool $send = true): Kirby\Http\Response|null
Parameters
Name | Type | Default |
---|---|---|
$send | bool |
true
|
Return types
Kirby\Http\Response
ornull
This method modifies the existing $file
object it is applied to and returns it again.