jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "WebAppFAQ" by ThomasMueller
Date Tue, 09 Jun 2009 08:59:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/WebAppFAQ

------------------------------------------------------------------------------
  Sending PDF content can be tricky due to browser idiosyncrasities.  What we
  use at my site is:
  
+  * If you provide a filename, e.g., in a Content-Disposition header, you '''must''' use
a .pdf extension.  MSIE will look at filename extensions instead of the mime-type.
- * If you provide a filename, e.g., in a Content-Disposition header, you
- '''must''' use a .pdf extension.  MSIE will look at filename extensions
- instead of the mime-type.
  
- * Set the Content-Length in the header.  MSIE seems to be the most easily
+  * Set the Content-Length in the header.  MSIE seems to be the most easily confused.
- confused.
  
+  * If you use HTTPS you '''must not''' set the Cache-Control pragma to 'no-cache'. MSIE
is very literal and will discard your content before it can read it!
- * If you use HTTPS you '''must not''' set the Cache-Control pragma to 'no-cache'.
- MSIE is very literal and will discard your content before it can read it!
  
+  * You need to play with the Content-Disposition header.  At our site we use 'attachment;filename=...'
for Firefox, and 'inline' for all other browsers, but we have some weird needs.
- * You need to play with the Content-Disposition header.  At our site we use
- 'attachment;filename=...' for Firefox, and 'inline' for all other browsers, but we
- have some weird needs.
  

Mime
View raw message