jhiesey / stream-http

Streaming node http in the browser
MIT License
354 stars 62 forks source link

Safari supports fetch streaming too #98

Open jimmywarting opened 6 years ago

jimmywarting commented 6 years ago

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)

gabrielgrant commented 2 years ago

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

jhiesey commented 2 years ago

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.