registry.py 文件源码

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

项目:appr 作者: app-registry 项目源码 文件源码
def _pull(data, json_format=True):
    if json_format:
        resp = jsonify(data)
    else:
        resp = current_app.make_response(b64decode(data['blob']))
        resp.headers['Content-Disposition'] = data['filename']
        resp.mimetype = 'application/x-gzip'
    return resp
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号