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

Handles invalid requests #55

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Handles invalid requests #55

merged 1 commit into from
Mar 8, 2024

Conversation

joedixon
Copy link
Collaborator

@joedixon joedixon commented Mar 8, 2024

Whilst testing, I noticed the following request with unexpected start-line caused an exception and killed the server.

This PR adresses that issue by catching the error an closing the request with 400 Bad Request

Screenshot 2024-03-07 at 16 50 27 Screenshot 2024-03-07 at 19 21 47

@taylorotwell taylorotwell merged commit cc5b59f into main Mar 8, 2024
9 checks passed
@taylorotwell taylorotwell deleted the fix/invalid-request branch March 8, 2024 14:57
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