Summary: | Add configurable http headers for retrievable uploads (see 6874) | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | Cataloging | Assignee: | Galen Charlton <gmcharlt> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | 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: | ||
Circulation function: |
Description
Marcel de Rooy
2015-05-27 14:37:22 UTC
Hi Marcel, can you explain this one a bit more? 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 ;) |