Skip to content

#duplex is missing from RequestInit #1483

Open

Description

The Fetch WG introduced a new duplex property to RequestInit1 back in July that undici is now abiding by when making payload requests with a ReadableStream2. They have added this new duplex property into their own RequestInit types, but as this is now a part of the core fetch specification it should be included here.

https://fetch.spec.whatwg.org/#request-class

Footnotes

  1. https://github.com/microsoft/TypeScript-DOM-lib-generator ↩

  2. https://github.com/nodejs/node/issues/46221 ↩

Activity

  1. haukepribnow commented on Jul 30, 2023

    @haukepribnow

    Would this really be as easy to close as only removing this line?

  2. added a commit that references this issue on May 23, 2024
    d803e50
  3. Bashamega commented on Apr 1, 2025

    @Bashamega
    Contributor
  4. Bashamega commented on Apr 1, 2025

    @Bashamega
    Contributor

    The reason #1729 wasn't merged and we removed this type is that it is only supported by Blink, and in order for a type to be added, it needs to be supported by at least two major browser engines.

  5. orshrim-trail commented on Jul 27, 2026

    @orshrim-trail

    Seems like it's supported by Chrome and Edge (not sure if they count as two different browsers...)

  6. Bashamega commented on Jul 28, 2026

    @Bashamega
    Contributor

    Seems like it's supported by Chrome and Edge (not sure if they count as two different browsers...)

    Chrome and Edge use the same browser engine Blink, so they count as the same browser.
    To be a different browser, it needs to run on another engine: WebKit or Gecko

  7. HolgerJeromin commented on Jul 28, 2026

    @HolgerJeromin
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions