Support ReadableStream as Request.body in fetch API in necko
Categories
(Core :: Networking, enhancement, P3)
Tracking
()
People
(Reporter: baku, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-triaged])
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
![]() |
||
Updated•6 years ago
|
Updated•3 years ago
|
Comment 6•1 year ago
|
||
In order to support them in Request.body, we need to allow the sending of nsIAsyncInputStream as content body in HTTP/2 without knowing its length.
Hi Randell, do you know whether it's a solved problem now, given we have WebTransportSendStream?
Comment 7•1 year ago
|
||
Perhaps. From comment 1 it's not h2-specific. I didn't do anything special that would impact this, but maybe this can build on what was done for WT.
Hi! We ran into a problem on the project: To upload large files from the frontend, we use ReadableStream, everything works well in Chrome, we debugged it there and rolled it out to the prod, but later it was noticed that upload simply does not work in Firefox and immediately interrupts the stream. Is there currently no way to insert a Readable Stream into the request body (we use h2) ?
Reporter | ||
Comment 9•7 months ago
|
||
Dmitrii, can you please file a separate bug, including an STR or anything useful to reproduce the issue? Thank you!
Comment 10•7 months ago
|
||
(In reply to Andrea Marchesini [:baku] from comment #9)
Dmitrii, can you please file a separate bug, including an STR or anything useful to reproduce the issue? Thank you!
Hi, I'm facing the same problem https://bugzilla.mozilla.org/show_bug.cgi?id=1911164
The response says that it is in the plans, but it is not working at the moment, and it is not known when it will be implemented.
Description
•