I really don't know if what I did is the right thing to do. On my test case [1] it works like a charm. I'd be delighted if you could take a deeper look into this issue.
Thanks!
[1] I use 'throwError' to interrupt the HTTP request when I've processed all the bits of the body that I wanted. This avoids downloading the whole thing when I don't need it.
We've opened up some discussions via email to figure out how to best address this issue. Meanwhile, this patch looks like a good fix for the immediate problem.
I really don't know if what I did is the right thing to do. On my test case [1] it works like a charm. I'd be delighted if you could take a deeper look into this issue.
Thanks!
[1] I use 'throwError' to interrupt the HTTP request when I've processed all the bits of the body that I wanted. This avoids downloading the whole thing when I don't need it.