Eric Covener wrote:
On Thu, Oct 25, 2012 at 9:33 AM, J.Lance Wilkinson <jlw12@xxxxxxx> wrote:A colleague is running "Oracle-Application-Server-11g/11.1.1.4.0 Oracle-HTTP-Server" which is basically Apache HTTPD v2.2.15, and he's having an issue when delivering content of certain MIME types, specifically to handle MS-OFFICE content. He has a file, for example, with a .docx extension, when it's delivered to their browser, the response headers say "Content-Type: text/plain" He has an AddType directive which reads AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx (line wrapping mine) Naturally he's expecting the response headers on delivery to report "Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document" Something obvious we're not catching?Sure looks like the DefaultType kicking in, which should not happen with an appropriate AddType.
That's what I thought, too. But I'll have him check for DefaultType to make sure it's not there.
It could be generated by the application server with C-T: text/plain, which you can edit with Header edit Content-Type (but not ForceType/AddType).
Not following you here, Eric. -- J.Lance Wilkinson ("Lance") InterNet: Lance.Wilkinson@xxxxxxx Systems Design Specialist - Lead Phone: (814) 865-4870 Digital Library Technologies FAX: (814) 863-3560 E3 Paterno Library Penn State University University Park, PA 16802 http://ucs.psu.edu/home/jlw12@xxxxxxx?fmt=freebusy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx