Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix http docs #27918

Closed
wants to merge 1 commit into from
Closed

Fix http docs #27918

wants to merge 1 commit into from

Conversation

ronag
Copy link
Member

@ronag ronag commented May 26, 2019

Documents a weird http behaviour. See, #27916

@nodejs-github-bot nodejs-github-bot added the http2 Issues or PRs related to the http2 subsystem. label May 26, 2019
@@ -2061,8 +2061,13 @@ order:
(`'data'` will not be emitted at all if the response body is empty, for
instance, in most redirects)
* `'end'` on the `res` object
* `'error'` if the server response is received while still writing to request.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that this belongs here as it's a list of events for a successful request.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depends on what you define as a successful request, anything that has a response is successful?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say any request and response that completes without any 'error' events.

@ronag
Copy link
Member Author

ronag commented May 26, 2019

Since this behavior is now considered a bug (see #27916) this PR is no longer relevant.

@ronag ronag closed this May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http2 Issues or PRs related to the http2 subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants