Skip to content

Better description of statuscode handling and improve example #29714

Closed
@DanielRuf

Description

@DanielRuf

Currently https://nodejs.org/api/http.html#http_http_get_url_options_callback mentions only 200 but any 2xx statuscode is a success and not an error.

This should be improved.

If you have a question, suggestion or issue regarding our website,
please post it in https://github.com/nodejs/nodejs.org!

Issues with the Node.js API documentation should be posted here. All other
issues regarding the website will be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions