ExStorageServiceSdk.S3.Encoding (ex_storage_service_sdk v0.7.1)

Copy Markdown View Source

RFC3986 byte encoding for S3 keys, query pairs, and copy sources.

Summary

Functions

Builds the x-amz-copy-source value from raw bucket, key, and optional version.

Encodes every byte except RFC3986 unreserved characters.

Encodes a raw object path without normalizing slash or dot segments.

Encodes and sorts raw query pairs, retaining repeated names and values.

Functions

copy_source(bucket, key, version_id \\ nil)

Builds the x-amz-copy-source value from raw bucket, key, and optional version.

encode(value)

Encodes every byte except RFC3986 unreserved characters.

path(value)

Encodes a raw object path without normalizing slash or dot segments.

query(pairs)

Encodes and sorts raw query pairs, retaining repeated names and values.