class Awscr::S3::ContentType
- Awscr::S3::ContentType
- Reference
- Object
Overview
Determines the Content-Type of IO
Defined in:
awscr-s3/content_type.crConstant Summary
-
DEFAULT =
"binary/octet-stream"
-
The default content type if one can not be determined from the filename
Class Method Summary
-
.get(io : IO) : String
Gets a content type based on the file extesion, if there is no file extension it uses the default content type
Class Method Detail
def self.get(io : IO) : String
#
Gets a content type based on the file extesion, if there is no file extension it uses the default content type