PrivateDownloadHeaders
in package
FinalYes
Cache headers for downloads that passed an authorization check (invoice PDFs, complaint attachments, import logs, exports).
Without them a shared proxy, CDN or the browser on a shared computer may keep the file and hand it to the next person — the authorization would then protect only the first request.
Table of Contents
Methods
- apply() : void
Methods
apply()
public
static apply(IResponse $response) : void
Parameters
- $response : IResponse