Merge pull request #7636 from yurydelendik/rm-refresh
Drops unneeded HTTP refresh header for the extension.
This commit is contained in:
commit
834a7ff329
@ -970,6 +970,8 @@ PdfStreamConverter.prototype = {
|
||||
aRequest.setResponseHeader('Content-Security-Policy', '', false);
|
||||
aRequest.setResponseHeader('Content-Security-Policy-Report-Only', '',
|
||||
false);
|
||||
// The viewer does not need to handle HTTP Refresh header.
|
||||
aRequest.setResponseHeader('Refresh', '', false);
|
||||
}
|
||||
|
||||
PdfJsTelemetry.onViewerIsUsed();
|
||||
|
Loading…
Reference in New Issue
Block a user