upyun / docs Goto Github PK
View Code? Open in Web Editor NEWUPYUN Docs
Home Page: https://docs.upyun.com
UPYUN Docs
Home Page: https://docs.upyun.com
因为在 console.upyun.com 的服务里可以随时更新表单 API 密钥。当表单 API 密钥更新时,如果还有旧的密钥在访问,是否可以访问? 如果可以访问有效期保留的是多久?这些都还没在文档里说明。希望能补充一下。
使用nodeSDK上传文件夹(貌似文件有点多),返回了错误statusCode: 429; body: {"msg":"too many requests","code":42900001,"id":"87667a942631f57e748d741b15ebdd5e"}
,话说这个问题有什么解决方案么?
求助,谢谢~
Runnable uploadRunnable = new FormUploader2(this.upLoaderClient, file, localParams, operator, password, uiCompleteListener, uiProgressListener);
this.executor.execute(uploadRunnable);
java.lang.IllegalArgumentException: Unexpected char 0x4e2d at 34 in Content-Disposition value: form-data; name="file"; filename="中文.MOV"
at okhttp3.Headers.checkValue(Headers.java:272)
at okhttp3.Headers.of(Headers.java:224)
at okhttp3.MultipartBody$Part.createFormData(MultipartBody.java:259)
at okhttp3.MultipartBody$Builder.addFormDataPart(MultipartBody.java:324)
at com.upyun.library.common.UploadClient.fromUpLoad2(UploadClient.java:36)
at com.upyun.library.common.FormUploader2.run(FormUploader2.java:125)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:929)
我下载你github中这个文档。为什么会提示jinja2.exceptions.UndefinedError: 'current_page' is undefined报在theme/updocs/toolbar.html current_page变量找不到原因。是原因呢。非常感谢。
异步音视频处理里提到
连接操作员名和进行 md5 计算之后的操作员密码:
operator_testerbucket_nameimtesternotify_urlhttp://www.example.com/notify/source/video/20130514_190031.mp4tasksW3sidHlwZSI6InZpZGVvIiwiYml0cmF0ZSI6IjUwMCIsInJvdGF0ZSI6ImF1dG8iLCJmb3JtYXQiOiJtcDQifSx7InR5cGUiOiJ0aHVtYm5haWwiLCJ0aHVtYl9zaWdubGUiOmZhbHNlLCJ0aHVtYl9hbW91bnQiOjEwMCwiZm9ybWF0IjoicG5nIn1d97b5a9d718b7a2064f7e7673c4d8bcb8
将得到的字符串进行 md5 计算, 得到最终的
signature
值为ad91a9ab81ecc34e973844a6723ce354
.
在线MD5网站的计算结果e801eeb40d8e2160c266c94d6fc2ba3f
官方提供的Node.js SDK中md5sum的计算结果 e801eeb40d8e2160c266c94d6fc2ba3f
通过Node.js的module iconv-lite转换utf8后再md5sum的计算结果 e801eeb40d8e2160c266c94d6fc2ba3f
文档是否有误?
我自己通过文档给出的计算方法调用异步文件拉取时, 也提示signature error
, 是文档不对还是我理解有偏差?
注: 签名的有效期为 30 分钟。如果超过 30 分钟,则需重新生成签名。
我看相应的文档,我想不通签名加上有效期的意义何在,因为每次请求的时间都不一样的?
(index):282 Mixed Content: The page at 'https://docs.upyun.com/' was loaded over HTTPS, but requested an insecure script 'http://znsv.baidu.com/customer_search/api/js?sid=6062249992052412388&plate_url=https%3A%2F%2Fdocs.upyun.com%2F&t=418276'. This request has been blocked; the content must be served over HTTPS
如题,怎么解决这个安全问题的
首先,贵司使用 mkdocs 的方式给了我很大的启发,感谢。下面说问题
可以看到这是很难看的,其实这里有几个方案,1. 完全不支持自适应,设置页面最小宽度,然后设备宽度小于最小宽度使用底部滚动条,这个是最简单易用的并且小屏幕看文档的需求本来就不多 2. 就是要支持了,这可能会比较麻烦。
现在的状况是最顶部的导航条还算自适应,底部也还可以,但是左侧侧边导航就完全不行了,另外图片会撑大整个页面,IPad 视角更是不行,见上图
最后,我很乐于贡献自己的代码来解决上述问题(是我擅自认为是问题),当然,这也要在你们作出决定之后。
/exformat/ 颜色进制,如 hex 返回颜色的进制,默认 hex。可选值:dec(十进制),hex(十六进制)
现在线上实际输出的颜色值却是按照默认 dec 格式。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.