PUT bucket versioning request headers

The table below describes the headers you can use in a request to enable or disable versioning for a bucket.

Request header Description Required
Authorization See AWS authentication. You cannot create a bucket as an anonymous user. Yes
Content-Lenth Specifies the size, in bytes, of the versioning request body. Yes
Content-Type Specifies the Internet media type of the request body. The only valid value is application/xml. No
Date See Common request headers. Date or x-amz-date
Host See Common request headers. Yes
x-amz-date See Common request headers. x-amz-date or Date

Trademarks and Legal Disclaimer

© 2016 Hitachi Data Systems Corporation. All rights reserved.