GcsSignedUrl.Headers (gcs_signed_url v0.4.2) View Source
Transforms headers for a request to representations required by the Google URL signature algorithm
Link to this section Summary
Functions
Creates a %GcsSignedUrl.Headers{} struct from the given headers keyword list. The struct contains the signed headers, such as the canonical headers
Link to this section Types
Specs
Link to this section Functions
Specs
Creates a %GcsSignedUrl.Headers{} struct from the given headers keyword list. The struct contains the signed headers, such as the canonical headers
Examples
iex> GcsSignedUrl.Headers.create(["X-Foo": "foo", "X-Foo": "bar", "Content-Type": "application/json"])
%GcsSignedUrl.Headers{signed: "content-type,x-foo", canonical:...}