stream-http
stream-http copied to clipboard
Safari supports fetch streaming too
In the readme it says
The following browsers support true streaming, where only a small amount of the request has to be held in memory at once:
Chrome >= 43 (using the fetch API) Firefox >= 9 (using moz-chunked-arraybuffer responseType with xhr)
according to Mozilla's browser compat chart Safari now also fully supports WritableStream. Will stream-http make use of it properly in Safari?
I haven't tested it, but in theory it should automatically work. Unfortunately some of Safari's stream implementations have been buggy so that might not be a good thing.
I'll try to get around to testing it soon.