Thread IE+andere Browser: Code (dl-Link) im Forum wird als HTML angezeigt (42 answers)
Opened by GwenDragon at 2011-01-10 09:50

bianca
 2011-01-11 15:06
#144471 #144471
User since
2009-09-13
6977 Artikel
BenutzerIn

user image
Hmmm, das ist jetzt ein Argument wofür?
Das sniffen des Inhalts ist doch eine ganz andere Sache als die Frage, ob ein Browser einen Inhalt anzeigt oder zum Download anbietet.
Wenn das miteinander zu tun hätte, hätte ich ja bei jedem Image das Problem, wie ich dem Browser sage, ob er das jetzt gerade anzeigen oder downloaden soll.

Ich finde, dass die von dir bisher zitierten Artikel nicht den Schluß zulassen, dass application/octet-stream immer zwingend zu einem Download führen muss.
Das ist in meinen Augen ein separates Thema, was eben mit diesem Content-Disposition zu lösen ist.

Oder wo liegt jetzt mein Denkfehler?

Edit: http://www.w3.org/Protocols/rfc2616/rfc2616-sec19....
Abschnitt 19.5.1 Content-Disposition

Quote
If this header is used in a response with the application/octet- stream content-type, the implied suggestion is that the user agent should not display the response, but directly enter a `save response as...' dialog.

Last edited: 2011-01-11 15:09:54 +0100 (CET)
10 print "Hallo"
20 goto 10

View full thread IE+andere Browser: Code (dl-Link) im Forum wird als HTML angezeigt