stream-http icon indicating copy to clipboard operation
stream-http copied to clipboard

Safari supports fetch streaming too

Open jimmywarting opened this issue 7 years ago • 2 comments

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)

jimmywarting avatar Oct 14 '18 10:10 jimmywarting

according to Mozilla's browser compat chart Safari now also fully supports WritableStream. Will stream-http make use of it properly in Safari?

gabrielgrant avatar Jan 02 '22 01:01 gabrielgrant

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.

jhiesey avatar Jan 15 '22 01:01 jhiesey