digilib icon indicating copy to clipboard operation
digilib copied to clipboard

add content-disposition filename to all image responses

Open robcast opened this issue 8 years ago • 1 comments

Currently we only add a filename via content-disposition for mo=rawfile.

IIIF Image API http://iiif.io/api/image/2.0/#a-implementation-notes proposes to always set a file name via content-disposition.

robcast avatar Sep 06 '17 15:09 robcast

send-file currently uses the server-side file name which is ok.

send-image does not yet get a file name. I think it should be added when scaling the image. Should the file name also include zoom area and size?

robcast avatar Sep 06 '17 17:09 robcast