Answer the question
In order to leave comments, you need to log in
Why does a blank PDF open in Google Chrome?
Good day to all!
I ran into a very strange problem, in the Google Chrome browser files do not open in view mode, or rather the file itself opens but its contents are not displayed, just a gray screen. In other browsers (Firefox, Edge, Safari) everything is fine!
Headers given by nginx:
HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Thu, 27 Feb 2020 03:38:33 GMT
Content-Type: application/pdf
Content-Length: 517150
Last-Modified: Mon, 18 Nov 2019 11:03:18 GMT
Connection: keep-alive
ETag: "5dd27a76-7e41e"
Content-Disposition: inline; filename="some_file.pdf"
Accept-Ranges: bytes
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question