OpenStax.Swift v0.1.1 OpenStax.Swift.Middleware.TempURL

This module is responsible for generating temporary URLs for objects.

See http://docs.openstack.org/developer/swift/api/temporary_url_middleware.html

Summary

Functions

Generates temporary public URL for specified object

Functions

generate(endpoint_id, container, object, expires_in)

Generates temporary public URL for specified object.

You must set keys as a metadata of container prior to generating such URL.