]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1760223: Update HTTP headers to follow standard
authorMike Rylander <mrylander@gmail.com>
Mon, 2 Apr 2018 20:09:12 +0000 (16:09 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 30 Apr 2018 14:08:40 +0000 (10:08 -0400)
commitb5bc4ba61d71654d12f7f73f4c2b548c01e469c9
tree5eb97b897d2656756a4adb19cd1bb277341ace1f
parentf7bc0a6417313fdc98d41a63bbde7049bb8fe138
LP#1760223: Update HTTP headers to follow standard

In the olden days, some browsers didn't understand the "attachment" content
disposition.  They only understood "inline" but would let the user save a file
if a filename was provided.  However, in these modern days, relevant browsers
all do the right thing and know about both flavors of content disposition, so
we, too, must change with the times and support the letter of the standard.

This commit fixes downloading of MARCXML from the Exporter module.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/Exporter.pm