electrode-io / electrode-ota-server

Electrode Over The Air Server for hot deployment of React Native and Cordova mobile apps
Other
204 stars 40 forks source link

update download() function to return content and length. #55

Closed datvong-wm closed 6 years ago

datvong-wm commented 6 years ago

Because of the need to return the Content-Length header, we need a download's content and length. Update service-download to return length and content.

Remove reference to service-download from electrode-ota-server-service-fileservice, electrode-ota-server-model-app. Not needed in those projects.