Websocket Redirect Middleware #2167
Answered
by
Kludex
x-stride
asked this question in
Potential Issue
Replies: 1 comment 1 reply
-
@Kludex The discussion is indeed better placed here that at fastapi/fastapi#9609 and I would be very curious to know how to do/implement that! Best, Matthieu |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Example Code
Description
Hello all,
Created an alternative of HTTPSRedirectMiddleware for redirection, but it's not working as I expected.
Error logs:
Checking the FastAPI httpsredirect.py and various middleware-guides out there I thought this would work... but looking at the ASGI spec it seems impossible...
Is the HTTPSRedirectMiddleware not working for ws or can this be done?
With best regards,
/x-stride
Beta Was this translation helpful? Give feedback.
All reactions