python-sdk
python-sdk copied to clipboard
Qiniu Resource (Cloud) Storage SDK for Python
#428 ``` proxies = { 'http': 'http://x.x.x.x:8080', 'https': 'http://x.x.x.x:8080', } http._init() http._session.proxies.update(proxies) ``` 虽然不够优雅,但是能用
如题,所用的requests库是支持代理的,但是你们封装没有留参数传入
测试脚本如下 ``` #!/usr/bin/env python from qiniu import DomainManager import qiniu access_key = "" secret_key = "" auth = qiniu.Auth(access_key=access_key, secret_key=secret_key) domain_manager = DomainManager(auth) for i in domain_manager.domain_iter(): print(i['name']) ```
是上传的时候被限定了宽高吗,能否保持原始图片的尺寸?具体有代码demo吗
add `bucket_usedspace` and `bucket_filecount` functions for `BucketManager` class
在win10本地测试上传视频到七牛云基本都是成功没问题的,但是项目部署到阿里云ubuntu系统基本会出现报错:text_body:None, status_code:-1, exception:('Connection aborted.', timeout('timed out',)), req_id:None, error:('Connection aborted.', timeout('timed out',)), x_log:None, _ResponseInfo__response:None 请问下这个问题怎么解决呀