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

use predefined status code instead of raw in authentication middleware #2849

Conversation

snosratiershad
Copy link

P.S.: very small change so I didn't opened a discussion for it.

Copy link
Member

@adriangb adriangb left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Kludex
Copy link
Member

Kludex commented Jan 22, 2025

We don't really use HTTP status code or WebSocket close code internally, even if we have the status module.

This is a single place, but there are many others that would need to change.

For that reason, considering there's no great win, and increases verbosity, I'll be closing this PR. Thanks tho!

@Kludex Kludex closed this Jan 22, 2025
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.

3 participants