Hi Hilton, This is in the response header. Same to all browsers. And it looks like all browsers (Firefox, Internet Explorer etc.) treat the pdf differently depending on "disposition - attachment" or not.
Regards Evgeni On Wed, Jan 22, 2014 at 2:11 PM, Hilton Gibson <hilton.gib...@gmail.com> wrote: > Hi Evgeni > > Is this not also browser dependant? > How do the developers cater for ALL browser options regarding MIME types? > > Regards > > hg > > Hilton Gibson > Ubuntu Linux Systems Administrator > JS Gericke Library > Room 1025D > Stellenbosch University > Private Bag X5036 > Stellenbosch > 7599 > South Africa > > Tel: +27 21 808 4100 | Cell: +27 84 646 4758 > http://library.sun.ac.za > http://za.linkedin.com/in/hiltongibson > > > On 22 January 2014 13:36, Evgeni Dimitrov <dimitrove....@gmail.com> wrote: >> >> When a PDF file is served by Tomcat directly, then the header says: >> . . . >> Content-Type application/pdf >> . . . >> and the file is displayed by the plugin in the browser. >> >> When the same PDF is served by DSpace, then the header says: >> . . . >> Content-Disposition attachment;filename="bookPDF2.pdf" >> Content-Type application/pdf;charset=ISO-8859-1 >> . . . >> and the browser asks - "to save" or "to open outside the browser". >> >> Is this on purpose and is this configurable (I mean configurable in >> DSpace)? >> >> >> ------------------------------------------------------------------------------ >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette