File: get-header-value-trim.sreq

package info (click to toggle)
libwebservice-s3-tiny-perl 0.003-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 852 kB
  • sloc: perl: 137; sh: 5; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
GET / HTTP/1.1
Host:example.amazonaws.com
My-Header1: value1
My-Header2: "a   b   c"
X-Amz-Date:20150830T123600Z
Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;my-header2;x-amz-date, Signature=acc3ed3afb60bb290fc8d2dd0098b9911fcaa05412b367055dee359757a9c736