OpenStax.Swift v0.3.0 OpenStax.Swift.Middleware.TempURL View Source

This module is responsible for generating temporary URLs for objects.

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

Link to this section Summary

Functions

Generates temporary public URL for specified object

Link to this section Functions

Link to this function generate(endpoint_id, container, object, expires_in) View Source

Generates temporary public URL for specified object.

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