code: def configure_website(self, suffix, error_key='', headers=None):
          
          if error_key:
              error_frag = self.WebsiteErrorFragment % error_key
          else:
              error_frag = ''
          body = self.WebsiteBody % (suffix, error_frag)
          response = self.connection.make_request('PUT', self.name, data=body,
                                                  query_args='website',
                                                  headers=headers)
          body = response.read()
          if response.status == 200:
              return True
          else:
              raise self.connection.provider.storage_response_error(
                  response.status, response.reason, body)
docs: Configure this bucket to act as a website
  
          :type suffix: str
          :param suffix: Suffix that is appended to a request that is for a
                         "directory" on the website endpoint (e.g. if the suffix
                         is index.html and you make a request to
                         samplebucket/images/ the data that is returned will
                         be for the object with the key name images/index.html).
                         The suffix must not be empty and must not include a
                         slash character.
  
          :type error_key: str
          :param error_key: The object key name to use when a 4XX class
                            error occurs.  This is optional.