sintaxi / dbox

NodeJS SDK for Dropbox API (THIS LIBRARY IS OBSOLETE!!)
513 stars 91 forks source link

Callback should return metadata in /get and /thumbnail methods. #22

Closed leods92 closed 12 years ago

leods92 commented 12 years ago

Dropbox sends a custom HTTP header (x-dropbox-metadata) which is easily accessible using Request's http.ClientResponse instance. Only /get and /thumbnail API resources come with that header.

This is important as we can get a file and handle its metadata in a single HTTP request

sintaxi commented 12 years ago

Thanks for the pull request. I have accepted this patch and added you to the contributor list. It has been published in v0.4.2.

leods92 commented 12 years ago

Nice! :D