Skip to content

Commit

Permalink
Merge branch 'master' of github.com:coldbox-modules/s3sdk into develo…
Browse files Browse the repository at this point in the history
…pment
  • Loading branch information
jclausen committed Sep 21, 2023
2 parents 1737df2 + 5e3d9e0 commit 70c9320
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions models/AmazonS3.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1858,8 +1858,12 @@ component accessors="true" singleton {
}

/**
* Determine mime type from the file extension
* */
* Determines mime type from the file extension
*
* @filePath The path to the file stored in S3.
*
* @return string
*/
string function getFileMimeType( required string filePath ){
var contentType = "binary/octet-stream";
if ( len( arguments.filePath ) ) {
Expand Down

0 comments on commit 70c9320

Please sign in to comment.