• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. GET Bucket website
  6. Responses

Responses

Syntax

HTTP/1.1 status_code 
 Server: Server Name 
 x-amz-request-id: request id 
 x-amz-id-2: id 
 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc
 Content-Type: type 
 Date: date  
 Content-Length: length     
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
 <WebsiteConfiguration xmlns="http://obs.example.com/doc/2015-06-30/"> 
   <RedirectAllRequestsTo> 
     <HostName>hostName</HostName> 
   </RedirectAllRequestsTo> 
 </WebsiteConfiguration>

Response Headers

This response uses common headers. For details about common response headers, see section Common Response Headers.

Response Elements

This response contains elements the same as those used by the PUT Bucket website request. For details, see section PUT Bucket website.

Error Responses

This response contains common errors. For details, see Table 1. In addition, this response contains one special error, as described in Table 1.

Table 1 Special error

Error Code

Description

HTTP Status Code

NoSuchWebsiteConfiguration

Indicates that the website configuration does not exist.

404 Not Found