class Awscr::S3::Response::HeadObjectOutput

Defined in:

awscr-s3/head_object_output.cr

Constant Summary

DATE_FORMAT = "%a, %d %b %Y %l:%M:%S"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(status, status_message, headers, content_type, last_modified, size) #

[View source]

Class Method Detail

def self.from_response(response) #

Create a GetObjectOutput response from an HTTP::Client::Response object


[View source]

Instance Method Detail

def content_type : String #

[View source]
def headers : HTTP::Headers #

[View source]
def last_modified : Time #

[View source]
def size : UInt64 #

[View source]
def status : HTTP::Status #

The body of the request object


[View source]
def status_message : String? #

[View source]