Skip to content

Marking http client APIs as Legacy #57277

Closed as not planned
Closed as not planned
@jasnell

Description

@jasnell

Now that fetch(...) has had a while to mature in the runtime and now that most development effort for client-side http is happening in undici, I'd like to propose that we mark all of the http and https module client-side operations as Legacy.

As a reminder what Legacy means... it is NOT the same as deprecating. It means that we have no intention of removing the APIs but that a better option is available and we prefer developers to use that better option. It means that the APIs likely will not receive new features but they are still maintained for the purposes of bug and security fixes.

  • http.get(...)
  • http.request(...)
  • http.globalAgent
  • https.get(...)
  • https.request(...)
  • https.globalAgent

@nodejs/http @nodejs/undici

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