    # File lib/fog/aws/requests/storage/complete_multipart_upload.rb, line 28
            def complete_multipart_upload(bucket_name, object_name, upload_id, parts)
              data = "<CompleteMultipartUpload>"
              parts.each_with_index do |part, index|
                data << "<Part>"
                data << "<PartNumber>#{index + 1}</PartNumber>"
                data << "<ETag>#{part}</ETag>"
                data << "</Part>"
              end
              data << "</CompleteMultipartUpload>"
              request({
                :body       => data,
                :expects    => 200,
                :headers    => { 'Content-Length' => data.length },
                :host       => "#{bucket_name}.#{@host}",
                :method     => 'POST',
                :parser     => Fog::Parsers::Storage::AWS::CompleteMultipartUpload.new,
                :path       => CGI.escape(object_name),
                :query      => {'uploadId' => upload_id}
              })
            end