Class AWS::S3::Request
In: lib/aws/s3/request.rb
Parent: Core::Http::Request

@private

Methods

Included Modules

Core::UriEscape

Attributes

body_stream  [RW] 
bucket  [RW]  @param [bucket] S3 bucket name
key  [RW]  @param [String] S3 object key

Public Class methods

Public Instance methods

@return [String, nil] The http request body.

@param [String, IO] The http request body. This can be a string or

  any object that responds to #read and #eof? (like an IO object).

CanonicalizedAmzHeaders

See the developer guide for more information on how this element is generated.

From the S3 developer guide

  CanonicalizedResource =
    [ "/" + Bucket ] +
    <HTTP-Request-URI, from the protocol name up to the querystring> +
    [ sub-resource, if present. e.g. "?acl", "?location",
    "?logging", or "?torrent"];

From the S3 developer guide:

StringToSign =

  HTTP-Verb + "\n" +
  content-md5 + "\n" +
  content-type + "\n" +
  date + "\n" +
  CanonicalizedAmzHeaders + CanonicalizedResource;

[Validate]