-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
enhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supported
Description
Is your feature request related to a problem? Please describe.
Currently when I stand up an sse client against a server that redirects I get
[2024-12-17 16:40:04,008][ERROR] Error in post_writer: Redirect response '307 Temporary Redirect' for url 'http://localhost:7860/api/v1/mcp?session_id=430eaa669c7a484a892dbd82c805249d'
Redirect location: 'http://localhost:7860/api/v1/mcp/?session_id=430eaa669c7a484a892dbd82c805249d'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307
Describe the solution you'd like
I ended up implementing an OPTIONS check before I establish the sse client so that no redirect is necessary but it would be nice for this to be handled automatically.
Nedomas
Metadata
Metadata
Assignees
Labels
enhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supported