open也取
*args和
**kwargs用作
EnvironBuilder参数。因此,您可以
headers在第一个发布请求中添加参数:
with self.app.test_client() as client: client.post('/v0/scenes/test/foo', data=dict(image=(StringIO('fake image'), 'image.png')), headers={'content-md5': 'some hash'});
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)