https://www.w3.org/Bugs/Public/show_bug.cgi?id=23726

            Bug ID: 23726
           Summary: Integration between XMLHttpRequest and Streams API
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Streams API
          Assignee: tyosh...@google.com
          Reporter: tyosh...@google.com
        QA Contact: public-webapps-bugzi...@w3.org
                CC: m...@w3.org, public-webapps@w3.org

Current ED tries to support upload-with-Stream usage by making send() to accept
a Stream as its argument. We can also choose to let XHR provide a
WritableByteStream.

For example, if we can make send() to return a WritableByteStream, it'll be

streamForUpload = xhr.send();
source.pipe(streamForUpload);

Current extension approach is easy. But maybe now we should revisit this and
discuss which is better not only about XHR but for each API and if possible
figure out good practice in general.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to