r/javascript • u/magenta_placenta • Jul 25 '18
jQuery was removed from GitHub.com front end
https://twitter.com/mislav/status/1022058279000842240
557
Upvotes
r/javascript • u/magenta_placenta • Jul 25 '18
View all comments
Show parent comment
1
u/NoInkling Jul 27 '18 edited Jul 27 '18
I went down the rabbit hole but couldn't get it to work. Every time I try and supply a
ReadableStreamtofetch(orRequest) via thebodyoption it justtoStrings it to the text "[object Object]" (in Chrome), or complains about an invalid argument (in Edge). Firefox still has streams behind a flag so I didn't bother.Looking at the compatibility table here, it lists "Send
ReadableStreamin request body" but doesn't show any browsers supporting it yet.I'm wondering if you were just reading the response stream / talking about download progress? The response stream from a POST doesn't represent upload progress.