Using AngularJS's $http to request streaming data like this:
$http({
method: 'POST',
url: url,
data: JSON.stringify(data),
headers: config
}).success(function(responseData) {
console.log(responseData);
}).error(function(data, status) {
console.log("error: " + status)
});
Even though the server is sending streaming data, neither the success nor error callbacks are being triggered. Can someone help me understand what might be the issue with receiving streaming data in this scenario?