apiServer.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:sdos-core 作者: sdos 项目源码 文件源码
def get_proxy_request_url(thisAuth, thisContainer=None, thisObject=None):
    """
    create the url under which this API proxy will reach its swift back end. basically this is the request url with a different hostname
    :param thisAuth:
    :param thisContainer:
    :param thisObject:
    :return:
    """
    u = configuration.swift_store_url.format(thisAuth)
    if thisContainer:
        u += "/" + thisContainer
        if thisObject:
            u += "/" + thisObject
    return u


##############################################################################
# Frontend Pool
##############################################################################
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号