Skip to content

Reject StaticFiles websocket requests gracefully#4064

Merged
r4victor merged 1 commit into
masterfrom
issue_4061_assertion_error_websocket
Jul 24, 2026
Merged

Reject StaticFiles websocket requests gracefully#4064
r4victor merged 1 commit into
masterfrom
issue_4061_assertion_error_websocket

Conversation

@r4victor

Copy link
Copy Markdown
Collaborator

Fixes #4061

A workaround until the starlette upstream fix.

@r4victor
r4victor merged commit 0c0f265 into master Jul 24, 2026
24 checks passed
@r4victor
r4victor deleted the issue_4061_assertion_error_websocket branch July 24, 2026 05:59
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.

[Bug]: Server raises AssertionError on ws:// connect at static files paths

1 participant