Archive Requests Python Module¶
Module that is used by the cart to send requests to the archive interface.
Class that supports all the requests to the archive interface.
Constructor for setting the AI URL.
Return status dictionary from http response headers.
pull_file(archive_filename, cart_filepath, hashval, hashtype)¶
Pull file from AI.
Performs a request that will attempt to write the contents of a file from the archive interface to the specified cart filepath
Send a post to the archive interface telling it to stage the file.
Get a status from the archive interface via Head and returns response.