REST Python Module

Class for the cart interface.

Allows API to file interactions.



Basic exception class for this module. Will be used to throw exceptions up to the top level of the application.


Define the methods that can be used for cart request types.

Doctest for the cart generator class HPSS Doc Tests

static DELETE(uid)[source]

Delete a cart that has been created.

static GET(uid, **kwargs)[source]

Download the tar file created by the cart.

static HEAD(uid)[source]

Get the status of a carts tar file.

static POST(uid)[source]

Get all the files locally and bundled.

exposed = True[source]

Convert the unicode object into bytes.**kwargs)[source]

The default error page should always enforce json.