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

[http] Avoid boxing of status code tags #4361

Merged
merged 4 commits into from
Apr 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove duplicate mappings.
CodeBlanch committed Apr 4, 2023
commit dd3ab2a421136233ba670799f4c2b6a7c5bbacfe
Original file line number Diff line number Diff line change
@@ -40,18 +40,18 @@ internal static class TelemetryHelper
{ 226, 226 },*/

{ HttpStatusCode.MultipleChoices, 300 },
{ HttpStatusCode.Ambiguous, 300 },
/* { HttpStatusCode.Ambiguous, 300 }, */
{ HttpStatusCode.MovedPermanently, 301 },
{ HttpStatusCode.Moved, 301 },
/* { HttpStatusCode.Moved, 301 }, */
{ HttpStatusCode.Found, 302 },
{ HttpStatusCode.Redirect, 302 },
/* { HttpStatusCode.Redirect, 302 }, */
{ HttpStatusCode.SeeOther, 303 },
{ HttpStatusCode.RedirectMethod, 303 },
/* { HttpStatusCode.RedirectMethod, 303 }, */
{ HttpStatusCode.NotModified, 304 },
{ HttpStatusCode.UseProxy, 305 },
{ HttpStatusCode.Unused, 306 },
{ HttpStatusCode.TemporaryRedirect, 307 },
{ HttpStatusCode.RedirectKeepVerb, 307 },
/* { HttpStatusCode.RedirectKeepVerb, 307 }, */
/*{ 308, 308 },*/

{ HttpStatusCode.BadRequest, 400 },