Homec4science

bibdocfile: application/octet-stream by default

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Jun 30 2010, 14:18.

Description

bibdocfile: application/octet-stream by default

  • When streaming a file, if the mime-type to provide in the response HTTP header can not be guessed from the file format, use "application/octet-stream" instead of "text/plain", to force browser to download the file.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jul 12 2010, 17:04
Parents
R3600:77b0ed7fc113: WebSearch: safer protection of restricted records
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:9b3cfc0b8538: bibdocfile: application/octet-stream by default (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jul 12 2010, 17:04