swift_browser_ui.ui._convenience

Miscallaneous convenience functions used during the project.

Module contains funcions for e.g. authenticating against openstack v3 identity API, cache manipulation, cookies etc.

Functions

disable_cache(response)

Add cache disabling headers to an aiohttp response.

get_availability_from_token(token, client)

List available domains and projects for the unscoped token specified.

get_tempurl_key(request)

Get the correct temp URL key from Openstack.

open_upload_runner_session(request)

Open an upload session to the token.

sign(valid_for, path)

Perform a general signature.

test_swift_endpoint(endpoint)

Test swift endpoint connectivity.