Update Chrome/Firefox support for ReadableStream in Request Body#1333
Update Chrome/Firefox support for ReadableStream in Request Body#1333Elchi3 merged 4 commits intomdn:masterfrom anthumchris:stream-request-body
Conversation
|
Did you test with preferences enabled in Firefox? |
|
@evilpie Yes, the preferences/flags were enabled. Firefox sends string "[object ReadableStream]". |
chrisdavidmills
left a comment
There was a problem hiding this comment.
I think the main problem here is that the description is misleading — in this data I am really talking about consuming response bodies as streams, not sending requests with streams as bodies.
I think it is worth talking about both — could you update the existing description to say something like "Consuming response body as ReadableStream", and then add an extra support block to cover the other case?
|
It's not clear to me how the two blocks should look like. @chrisdavidmills can you post the JSON you'd like to see here, so that I can amend this PR? (or open a new PR to get this right and I'll close this one.) Thanks! |
|
Something like this? |
|
Related whatwg/fetch#425, whatwg/fetch#439. Technically a workaround is possible using |
To the best of my knowledge, Chrome and Firefox do not yet support sending
ReadableStreamcontent inRequestbody during HTTP requests. I think we should remove the positive indicators until this is fully supported. Tested with Chrome 67 and FF 59.