Ask Your Question

nxir's profile - activity

2015-12-03 22:52:30 -0500 received badge  Popular Question (source)
2015-12-03 22:52:30 -0500 received badge  Notable Question (source)
2015-02-14 03:04:02 -0500 received badge  Teacher (source)
2015-02-14 03:04:02 -0500 received badge  Necromancer (source)
2015-02-06 01:54:04 -0500 asked a question TempAuth and CORS is not working

I'm tried to set "cors_allow_origin" in the proxy server config file, but still not work

how to solve this problem, some one can help? Thanks!!!

2015-02-06 01:54:04 -0500 asked a question 如何在TempAuth使用CORS?

由于是使用浏览器做认证请求,所以遇到了跨域问题. 我有试过在proxy-server.conf中添加cors_allow_origin, 但是没有效果.

any help? THK!

2015-02-06 01:54:03 -0500 answered a question 請問swift的上傳能續傳嗎?

可以使用Large Object来实现续传. 先将大文件在客户端分片, 然后上传分片,分片上传完成后上传Manifest文件将分片合并. 比如将每个分片大小定为5M, 那么上传100M大小的文件将分为20个分片. 在上传至第11个分片时将上传进程停止. 这时候其实已经完成了一半的上传了, 下次上传时就再重新分片文件,然后从第11个分片开始传. 每个分片都有一个对应的Etag,就是文件的MD5值,在Object的响应头中可以看到. 基于此就能够实现断点续传和秒传功能了.

2015-01-16 03:48:12 -0500 received badge  Supporter (source)