Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

resource interpreted as document but transferred with mime type application/octet-stream pdf

Don't know why I'm facing this issue not able to download pdf files in chrome browser, it is showing below error in Nginx server.

resource interpreted as document but transferred with mime type application/octet-stream pdf

Though I have included mime type as application/pdf

like image 885
abcxyz Avatar asked Aug 07 '13 07:08

abcxyz


1 Answers

If it's just a warning then simply ignore it! It's just Chrome.

If not, try to include MIME Type as application/octet-stream.

like image 196
Tobias Gschwandtner Avatar answered Oct 18 '22 09:10

Tobias Gschwandtner