I need to redirect requests for PDFs to an html page that shows the requested pdf in a frame/iframe
My fear is that some browsers (at least IE used to do this) will hand over the request to Acrobat reader. I can imagine that Acrobat will not be too happy with an html page instead of application/pdf
Thanks for any information you might have on this. I will have access to a server where I can serve the html when a pdf is requested in the near future, but perhaps someone can already save me the trouble
Michel
If your reponse is
200 OKand you have aContent-Type: application/pdfthen the display for the page, frame or iframe will get handed over to the PDF plugin.Otherwise, e.g. if you do a redirect, then IE will handle the redirect.