Bug 14282

Summary: Add configurable http headers for retrievable uploads (see 6874)
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer, m.de.rooy, nick
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14294
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20081
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6874
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Marcel de Rooy 2015-05-27 14:37:22 UTC

    
Comment 1 Katrin Fischer 2020-01-07 21:54:40 UTC
Hi Marcel, can you explain this one a bit more?
Comment 2 Marcel de Rooy 2020-01-08 12:17:13 UTC
Yes, not much info here, but there are some pointers on bug 6874.
We now use a general http header when downloading an uploaded file with tools/upload.pl: type=application/octet-stream. For PDF files we hardcoded application/pdf. This allows some browsers to show the file contents for e.g. a PDF file rightaway, etc. The idea for this bug was to make that configurable, i.e. add other headers where locally needed. From a preference or config file.

But it did not move since then ;)