hopeless/node-dbox — comment on commit 963e4da6d8d7aae73a72d272283470acc1907232
File:  line 0
By hopeless:

Ok, more investigations. You can use pipe with Dropbox but the Content-Length header needs to be set otherwise Node will naturally use chunked encoding. This is why by previous approach sometimes worked and sometime didn't. I've rewritten my app to download to a temporary file and you can see here (https://github.com/hopeless/UrlPipe/blob/master/process_downloads.js#L27) how I ensure chunked encoding is not used.

I hope that helps you decide whether you want something similar to put_request in your library