NOSNIFF
NOSNIFF = 'nosniff' : string
Handles common security headers in a convenient way
setReferrerPolicy(string $policy = self::SAME_ORIGIN) : $this
Referrer-Policy
string | $policy | Policy value. Available Value: 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url' |
__invoke(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response, callable $next) : \Psr\Http\Message\ResponseInterface
Serve assets if the path matches one.
\Psr\Http\Message\ServerRequestInterface | $request | The request. |
\Psr\Http\Message\ResponseInterface | $response | The response. |
callable | $next | Callback to invoke the next middleware. |
A response
Loading…