-
-
Notifications
You must be signed in to change notification settings - Fork 899
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
Support for Websocket Denial Response #1478
Closed
Closed
Commits on Feb 9, 2022
-
Added WebsocketDenialResponse class
It allows returning regular HTTP Response to a websocket request (if the ASGI Websocket Denial Response extension is supported, otherwise just closes with code 403 as before)
Configuration menu - View commit details
-
Copy full SHA for f99f1ad - Browse repository at this point
Copy the full SHA f99f1adView commit details -
Update HTTPSRedirectMiddleware to support WebsocketDenialResponse
The current implementation was broken when used with websockets This URL mapping logic has also been update: - Fixing a few minor bugs - It is now possible to specify the HTTP/HTTPS port mapping (e.g. 80/443, 8080/8443, etc)
Configuration menu - View commit details
-
Copy full SHA for a733ef2 - Browse repository at this point
Copy the full SHA a733ef2View commit details -
Refactor ExceptionMiddleware and ServerErrorMiddleware
- Both classes now share a common superclass, BaseExceptionMiddleware, which takes care of most of the logic - Added ExceptionTypeOrStatusCode and ExceptionHandler to help on typing hints - Error handlers now take a HTTPConnection instead of a Request - Support for WebsocketDenialResponse
Configuration menu - View commit details
-
Copy full SHA for 41cf430 - Browse repository at this point
Copy the full SHA 41cf430View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7955926 - Browse repository at this point
Copy the full SHA 7955926View commit details
Commits on Feb 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 972d056 - Browse repository at this point
Copy the full SHA 972d056View commit details
Commits on Feb 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9d0401e - Browse repository at this point
Copy the full SHA 9d0401eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a7e455 - Browse repository at this point
Copy the full SHA 1a7e455View commit details
Commits on Feb 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bb64cf9 - Browse repository at this point
Copy the full SHA bb64cf9View commit details
Commits on Mar 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 361dd35 - Browse repository at this point
Copy the full SHA 361dd35View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.