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

add range header support for client.download #22

Open
suconghou opened this issue Mar 31, 2017 · 0 comments
Open

add range header support for client.download #22

suconghou opened this issue Mar 31, 2017 · 0 comments

Comments

@suconghou
Copy link

I am using your go-dropy and it is quite well with

io.Copy(os.Stdout, client.Open("/demo.txt"))

I write the data to the http.ResponseWriter , it work well , broswers can directly download the file ,
but it is a pity that the response is not rangeable

would you please modify the https://github.com/tj/go-dropbox/blob/master/client.go#L51 and add another parameters such as a map for addon http request header , so that the response can be rangeable .

It is very usefull sometimes , please

thank you very much !

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

1 participant