PDF can't download

I create a custom template in my view. The problem is, I cannot download the pdf format after transfer all the files to my web hosting. its work fine in my localhost.may I know the solution of this problem.

You may check HTTP response.