<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
aws-sigv4
</keywords>
</info>

# Server-side
<reply>
<data crlf="headers">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Content-Type: text/html

-foo-
</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<features>
Debug
aws
</features>
<name>
aws-sigv4 for s3express does not encode the path again
</name>
<command>
"http://fake.fake.fake:8000/%TESTNUMBER/a%23b.txt" -u user:secret --aws-sigv4 "aws:amz:us-east-2:s3express" -H "x-amz-content-sha256: UNSIGNED-PAYLOAD" --connect-to fake.fake.fake:8000:%HOSTIP:%HTTPPORT
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER/a%23b.txt HTTP/1.1
Host: fake.fake.fake:8000
Authorization: AWS4-HMAC-SHA256 Credential=user/19700101/us-east-2/s3express/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=5ba09dfca3e962e9dabf641f56c81293536c4832e39ccdb0080a30355ff38d64
X-Amz-Date: 19700101T000000Z
User-Agent: curl/%VERSION
Accept: */*
x-amz-content-sha256: UNSIGNED-PAYLOAD

</protocol>
</verify>
</testcase>
