File: normalize-path.txt

package info (click to toggle)
node-aws4 1.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 980 kB
  • sloc: javascript: 1,600; makefile: 2
file content (3 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (3)
1
2
3
A note about signing requests to Amazon S3:

In exception to this, you do not normalize URI paths for requests to Amazon S3. For example, if you have a bucket with an object named my-object//example//photo.user, use that path. Normalizing the path to my-object/example/photo.user will cause the request to fail. For more information, see Task 1: Create a Canonical Request in the Amazon Simple Storage Service API Reference: http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html#canonical-request