$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\Responseornull
This method modifies the existing $file object it is applied to and returns it again.