Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议在 list 达到最大限制退出时,也同样在 header 中设置 iter #59

Open
Prnyself opened this issue Feb 19, 2021 · 2 comments

Comments

@Prnyself
Copy link

https://github.com/upyun/go-sdk/blob/master/upyun/rest.go#L641
如果我想手动的进行 list 分页操作,现在这样的实现会导致我无法继续 list 剩余的文件。因为在 return 的时候还没有设置 "X-List-Iter" 这个 header

@Xuanwo
Copy link

Xuanwo commented Feb 19, 2021

或者提供一个同步的方法供调用

@Xuanwo
Copy link

Xuanwo commented Feb 19, 2021

或者将 doRESTRequest 暴露出来,允许我们自行构造请求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants