class Awscr::S3::Response::HeadObjectOutput

Defined in:

awscr-s3/responses/head_object_output.cr

Constant Summary

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(status : HTTP::Status, status_message : Nil | String, headers : HTTP::Headers) #

[View source]

Class Method Detail

def self.from_response(response : HTTP::Client::Response) #

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


[View source]

Instance Method Detail

def cache_control : String | Nil #

[View source]
def content_disposition : String | Nil #

[View source]
def content_encoding : String | Nil #

[View source]
def content_language : String | Nil #

[View source]
def content_type : String | Nil #

[View source]
def etag : String | Nil #

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

[View source]
def last_modified : Time #

[View source]
def meta : Hash(String, String) #

[View source]
def size : UInt64 #

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

The body of the request object


[View source]
def status_message : String | Nil #

[View source]