[DAEMON-271] Error streaming object responses to HTTP clients
|Fix Version/s||Appc Daemon 2.0.0|
DescriptionWhen a request is made to a service from an HTTP client, such as
curl, that streams an object response, the dispatcher context's response stream is eventually piped into Koa's HTTP server's response stream which expects streamed chunks to be either strings or buffers. When an object is streamed, an error is thrown. The solution is to stringify the object before it gets piped to the server response.
- Chris Barber 2019-02-14 https://github.com/appcelerator/appc-daemon/pull/352