Skip to content

Conversation

@rodja
Copy link
Member

@rodja rodja commented Feb 7, 2024

This pull request is a workaround for miguelgrinberg/python-engineio#345 and fixes #2468 and #2515. By deriving a custom ASGIServer from socketio we can strip the root_path from path which allows for modular and ASGI compliant usage until python-engineio (and thereby python-socketio) may provide this feature upstream sometime in the future.

@rodja rodja added the bug Type/scope: Incorrect behavior in existing functionality label Feb 7, 2024
@rodja rodja added this to the 1.4.15 milestone Feb 7, 2024
@rodja rodja requested a review from falkoschindler February 7, 2024 04:04
@falkoschindler falkoschindler merged commit dc7e805 into main Feb 8, 2024
@falkoschindler falkoschindler deleted the sio-root-path branch February 8, 2024 13:45
@falkoschindler falkoschindler linked an issue Feb 8, 2024 that may be closed by this pull request
@MuuXB MuuXB mentioned this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Type/scope: Incorrect behavior in existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ui.run_with with mount_path is broken Getting ASGI message error when using an URL prefix

3 participants