@staticmethod
def _stash_request_info(request, image_id, method, version):
    """
        Preserve the image id, version and request method for later retrieval
        """
    request.environ['api.cache.image_id'] = image_id
    request.environ['api.cache.method'] = method
    request.environ['api.cache.version'] = version
