Bug 14282 - Add configurable http headers for retrievable uploads (see 6874)
Summary: Add configurable http headers for retrievable uploads (see 6874)
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-27 14:37 UTC by Marcel de Rooy
Modified: 2020-01-08 12:17 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;)