    # File lib/fog/aws/requests/storage/put_bucket_website.rb, line 17
            def put_bucket_website(bucket_name, suffix, options = {})
              data =
    "<WebsiteConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\">\n<IndexDocument>\n<Suffix>\#{suffix}</Suffix>\n</IndexDocument>\n"

              if options[:key]
                data <<
    "<ErrorDocument>\n<Key>\#{options[:key]}</Key>\n</ErrorDocument>\n"
              end

              data << '</WebsiteConfiguration>'
              request({
                :body     => data,
                :expects  => 200,
                :headers  => {},
                :host     => "#{bucket_name}.#{@host}",
                :method   => 'PUT',
                :query    => {'website' => nil}
              })
            end