Re: Content-Type application/pdf wird u.U. nicht interpretiert

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Joerg Maschtaler schrieb:

Leider wird nun dieses PDf nicht zum Download angeboten sondern es wird
der HTTP-Header samt PDF-Inhalt inkl. PDF-Code im Browser angezeigt.

Ein Header "Content-Disposition: attachment; filename=example.pdf"
könnte zumindest dieses Symptom beseitigen.

Leider tritt keine Änderung ein (den Cache hatte ich vorher geleert).

Ich bin versucht anzunehmen, daß du beim Setzen dieses Headers etwas
falsch gemacht hast, denn mit ihm zeigt IE sogar für HTML-Seiten einen
Download-Dialog an.

--
All free men, wherever they may live, are citizens of Denmark.
And therefore, as a free man, I take pride in the words "Jeg er dansker!"
.



Relevant Pages

  • Re: Getting IE6 to honor caching directives and CACHE contents...
    ... I try to set headers to make sure that the browser caches the images for 10 minutes. ... Finding info on this on Google is a bit difficult, because as we all probably know, the most common problem is not to get IE to CACHE content but to get it to NOT cache content, which is the opposite of my problem;) ...
    (comp.lang.php)
  • Re: [PHP] Re: how to retrieve pictures from postgreSQL DB
    ... but what do you mean by "adding some cache related headers"? ... "DO NOT CACHE THIS PAGE, ... Just search for "cache control headers" and you'll find out more. ... The above prevents you having to supply any data as the browser is just ...
    (php.general)
  • Re: q JSP questions
    ... The most likely reason is that your browser is caching the page that's ... So when you request the page again ... headers which will instruct a browser not to cache a page. ... you could consider using a filter to set the above headers. ...
    (comp.lang.java.programmer)
  • Re: Does PHP "cache" scripts?
    ... PHP doesn't cache scripts. ... Your browser can cache, but you can send headers that advise the browser not ...
    (comp.lang.php)
  • Re: Squid Overkill? (Speed Up Web Surfing)
    ... Each user's browser already maintains a cache of web ... Squid cache. ... The first local user to access a web site on a distant web server will ...
    (comp.unix.bsd.freebsd.misc)