-
Notifications
You must be signed in to change notification settings - Fork 32
S3 Path
SaltwaterC edited this page Nov 15, 2011
·
2 revisions
The 'path' argument is the Canonicalized Resource. Basically a specific path with optional query parameters. If the path doesn't start with '/' then the forward slash char is automatically prepended to the path argument.
This path may be absolute, including the bucket name, if you use path style bucket addressing, or it may be relative to the bucket if you previously call s3.setBucket(). The s3.escapePath() is transparently called for the path argument in order to URL escape the special chars that may break the request.