class Awscr::S3::Response::HeadObjectOutput
- Awscr::S3::Response::HeadObjectOutput
- Reference
- Object
Defined in:
awscr-s3/responses/head_object_output.crConstant Summary
-
DATE_FORMAT =
"%a, %d %b %Y %H:%M:%S %Z"
Constructors
Class Method Summary
-
.from_response(response : HTTP::Client::Response)
Create a
GetObjectOutput
response from anHTTP::Client::Response
object
Instance Method Summary
- #cache_control : String | Nil
- #content_disposition : String | Nil
- #content_encoding : String | Nil
- #content_language : String | Nil
- #content_type : String | Nil
- #etag : String | Nil
- #headers : HTTP::Headers
- #last_modified : Time
- #meta : Hash(String, String)
- #size : UInt64
-
#status : HTTP::Status
The body of the request object
- #status_message : String | Nil
Constructor Detail
def self.new(status : HTTP::Status, status_message : Nil | String, headers : HTTP::Headers)
#
Class Method Detail
def self.from_response(response : HTTP::Client::Response)
#
Create a GetObjectOutput
response from an
HTTP::Client::Response
object