Just posting this here as documentation if it’s helpful. There should be better documentation on how to get http chunk streaming to work, since there’s a 2MB (1.9MB to be safe including headers) chunk limit on http requests and canister calls.
This example creates an output of firstchunk__middlechunk__middlechunk__middlechunk__lastchunk
if you go to:
Example code is also here: