Skip to content

Commit

Permalink
Merge pull request #5 from HistoryAtState/add-tif-file-extension
Browse files Browse the repository at this point in the history
Add handling for tif file extension
  • Loading branch information
joewiz authored Mar 1, 2024
2 parents c15bf55 + 3892b41 commit fc65686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/s3-object.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ declare function s3-object:put(
case ".mobi" return "application/x-mobipocket-ebook"
case ".pdf" return "application/pdf"
case ".png" return "image/png"
case ".tif"
case ".tiff" return "image/tiff"
case ".txt" return "text/plain"
case ".xml" return "text/xml"
case ".xml" return "application/xml"
default return "binary/octet-stream"
let $request :=
aws-request:create("PUT", $href, $parameters)
Expand Down

0 comments on commit fc65686

Please sign in to comment.