Petabox
  • Introduction
  • Petabox FAQ
  • Concepts
    • Bucket versioning
    • Logging actions with a bucket
    • Object Lock
  • Tools
    • Supported tools
      • CyberDuck S3 Client
      • Mountain Duck
      • S3 Browser
      • RClone
      • AWS CLI Console client
      • SDKs for different languages
        • JavaScript SDK
        • AWS SDK for Java
        • Python SDK (boto)
  • S3 Compatible API
    • How to use the API
    • Signing Requests
    • API Reference
      • Bucket
        • HeadBucket
        • ListObjects/ListObjectsV2
        • PutBucketVersioning
        • PutBucketLogging
        • ListBuckets
        • RenameBucket
        • GetBucketLocation
      • Object
        • PutObject
        • GetObject
        • HeadObject
        • RenameObject
        • PutObjectAcl
      • Multipart upload
        • General multipart upload order
        • CreateMultipartUpload
        • UploadPart
        • CompleteMultipartUpload
        • ListMultipartUploads
      • Analytics
        • GetStatistics
        • GetBandwidthAnalytics
        • GetStorageAnalytics
      • Common request headers
      • Common response headers
      • Responses
      • GetObjectTagging
      • GetObjectAcl
      • GetBucketAcl
      • ListObjectVersions
      • GetBucketRequestPayment
      • GetBucketReplication
      • GetBucketTagging
      • GetBucketLocation
      • GetBucketVersioning
      • GetBucketLifecycle
      • GetObjectLockConfiguration
      • PutObjectLockConfiguration
      • GetObjectRetention
      • GetObjectLegalHold
      • PutObjectRetention
      • PutObjectLegalHold
      • PutObjectAcl
      • PutBucketAcl
      • PutBucketVersioning
      • CopyObject
      • DeleteObjects
      • AbortMultipartUpload
      • DeleteObject
      • DeleteBucket
      • PutBucketTagging
      • PutObjectTagging
      • DeleteBucketTagging
      • DeleteObjectTagging
      • PutBucketLogging
      • GetBucketLogging
      • ListParts
      • UploadPartCopy
      • PutBucketPolicy
      • GetBucketPolicy
      • DeleteBucketPolicy
Powered by GitBook
On this page
  1. S3 Compatible API
  2. API Reference

Common request headers

PreviousGetStorageAnalyticsNextCommon response headers

Last updated 3 years ago

Heading

Description

Authorization

Any request to Petabox must be authorized. Along with this heading Date, either a heading or a heading must be used x-amz-date. Read about the authorization methods in the corresponding sections of the manual.

Cache-Control

A set of directives for caching data according to .

Content-​Disposition

The name under which Object Storage will offer to save the object as a file when unloading. compliant .

Content-Encoding

Defines the encoding of the content according to .

Content-Length

The length of the request body (without headers) in accordance with . The header is required for all requests that transfer any data to Object Storage, for example, when loading an object.

Content-Type

The data type in the request. Eg text/html. For more information about data types, see the Wikipedia article . Set by default binary/octet-stream.

Content-MD5

128-bit MD5 hash of the request body, encoded base64. Compliant with specification . Object Storage uses a header to ensure that the data sent matches the received data.

Date

The date and time the request was sent. Format: Thu, 18 Jan 2018 09:57:35 GMT. When set x-amz-date, Object Storage ignores the header Date.

Expect

Expected code 100-continue. When loading data into Object Storage, an application can use the following logic: - Send a request without a body, but with the Expect: 100-continue header set. - Send a request with a body after receiving a response 100-continue. This request Expectshould not contain a header .

Expires

The expiration date of the answer. compliant .

Host

The receiving host of the request. The header is required for HTTP / 1.1, but optional for HTTP / 1.0 requests.

x-amz-date

Date and time at the source of the request. Format: Thu, 18 Jan 2018 09:57:35 GMT. When set x-amz-date, Object Storage ignores the header Date.

RFC 2616
RFC 2616
RFC 2616
RFC 2616
List of MIME Types
RFC 1864
RFC 2616