GET Object

From Hostway API Documentation
Jump to: navigation, search

retrieves objects

GET /ObjectName

Requests

Syntax
GET /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Date: date
Authorization: signatureValue
Range:bytes=byte_range
Parameters

This implementation of the operation does not use request parameters.

Headers
  • Range: Downloads the specified range bytes of an object.
  • If-Modified-Since: Return the object only if it has been modified since the specified time
  • If-Unmodified-Since: Return the object only if it has not been modified since the specified time
  • If-Match: Return the object only if its entity tag (ETag) is the same as the one specified
  • If-None-Match: Return the object only if its entity tag (ETag) is different from the one specified
  • x-amz-request-payer: the requester knows he or she will be charged for the download
Elements in body

This implementation of the operation does not use request elements.

Responses

Headers
  • x-amz-meta-* headers
Elements

This implementation of the operation does not return response elements.

Examples

Sample Request
GET /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Date: date
Authorization: AWS signatureValue
Sample Response
HTTP/1.1 200 OK
Date : date
Connection : keep-alive
Content-Length : length
ETag: "etag"
ObjectContent
Sample Request
GET /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Date: date
Authorization: AWS signatureValue
Range: bytes=3-6
Sample Response
HTTP/1.1 200 OK
Date : date
Connection : keep-alive
Content-Length : length
ETag: "etag"
Content-Range : bytes 3-6/14
Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox