class
Awscr::S3::Response::HeadObjectOutput
Defined in:
awscr-s3/responses/head_object_output.crConstant Summary
-
DATE_FORMAT =
"%a, %d %b %Y %H:%M:%S %Z"
Class Method Summary
-
.from_response(response : HTTP::Client::Response)
Create a
GetObjectOutputresponse from anHTTP::Client::Responseobject
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
- #last_modified : Time
- #meta : Hash(String, String)
- #size : UInt64
Instance methods inherited from class Awscr::S3::Response::Base
client_error?(*args, **options)client_error?(*args, **options, &) client_error?, code(*args, **options)
code(*args, **options, &) code, headers : HTTP::Headers headers, server_error?(*args, **options)
server_error?(*args, **options, &) server_error?, status : HTTP::Status status, status_message : String | Nil status_message, success?(*args, **options)
success?(*args, **options, &) success?
Constructor methods inherited from class Awscr::S3::Response::Base
new(status : HTTP::Status, status_message : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
new
Class methods inherited from class Awscr::S3::Response::Base
extract(resp : HTTP::Client::Response)
extract
Class Method Detail
def self.from_response(response : HTTP::Client::Response)
#
Create a GetObjectOutput response from an
HTTP::Client::Response object