MG-RAST/Shock

Setting the 'Content-Length' Header for API Calls

Closed this issue · 1 comments

I don't know if this is possible, but it would be nice if you could set the 'Content-Length' header when returning data from API calls. This tells the caller the length of the data being returned.

For the data_downloader, I'm attempting to show a progress bar while downloading the list of nodes. Right now it's ~5 MB, which takes some time to download, so this is a cool feature. If it's not possible that's fine, just curious.

Will be fixed in next update.