Skip to content

Update example of HttpListenerResponse.StatusCode #3400

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

Merged
merged 1 commit into from
Oct 23, 2019
Merged

Conversation

f00f
Copy link
Contributor

@f00f f00f commented Oct 23, 2019

Summary

The example given on the docs page of HttpListenerResponse.StatusCode is unrelated to the property described on said page.

I updated it to match the example given on HttpListenerResponse.StatusDescription, because that one covers the StatusCode property, too.

Note that this is the first time I'm referencing a snippet and I hope I found the correct way of doing it. If not please update the example on the StatusCode page to be the same as the one for StatusDescription.

@f00f f00f requested a review from karelz as a code owner October 23, 2019 20:22
@mairaw mairaw added this to the October 2019 milestone Oct 23, 2019
Copy link
Contributor

@mairaw mairaw left a comment

Choose a reason for hiding this comment

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

Good catch @f00f! Thanks for making the change.

@mairaw mairaw merged commit c4926a0 into dotnet:master Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants