'Takes an unprocessed asset path, parses it just enough to try and find the
asset it refers to, and returns the content digest of that asset if it exists.'

@classmethod
def get_content_digest_for_asset_path(cls, prefix, path):

    (_, _, relative_path, _, _, _) = urlparse(path)
    asset_key = StaticContent.get_asset_key_from_path(cls.courses[prefix].id, relative_path)
    try:
        content = AssetManager.find(asset_key, as_stream=True)
        return content.content_digest
    except (ItemNotFoundError, NotFoundError):
        return None
