-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix 307 Temporary Redirect when use streamable_http #781
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
Open
chi2liu
wants to merge
37
commits into
modelcontextprotocol:main
Choose a base branch
from
chi2liu:fix-307-Temporary-Redirect
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+37
−8
Open
Changes from 10 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
0bf3521
Update streamable_http_path to /mcp/ to avoid 307 Temporary Redirect
chi2liu dd00227
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu d89e737
Streamable HTTP Trailing Slash Compatibility
chi2liu 7d6e14f
Streamable HTTP Trailing Slash Compatibility
chi2liu a84399b
Streamable HTTP Trailing Slash Compatibility
chi2liu 900c2dd
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 1a638ad
Streamable HTTP Trailing Slash Compatibility
chi2liu b3bf4c9
Streamable HTTP Trailing Slash Compatibility
chi2liu 645e1ab
Streamable HTTP Trailing Slash Compatibility
chi2liu 3e9e33f
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 7ef5f8d
Clean logic (#3)
vectorstain 303cac8
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 0d05075
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 898fc88
add unit test for Streamable HTTP Trailing Slash Compatibility
45a5cd8
add unit test for Streamable HTTP Trailing Slash Compatibility
04f637c
Update test_streamable_http.py
chi2liu 2377b70
add unit test for Streamable HTTP Trailing Slash Compatibility
09e403c
Merge branch 'fix-307-Temporary-Redirect' of https://github.com/chi2l…
a03c62e
add unit test for Streamable HTTP Trailing Slash Compatibility
10ccbbf
add unit test for Streamable HTTP Trailing Slash Compatibility
e102e7d
add unit test for Streamable HTTP Trailing Slash Compatibility
a72ffe8
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 6cf74f1
change Mount to Routers
2748a75
fix tests
b726c86
redirect_slashes to False
3b03b83
Update server.py
chi2liu d2ee4df
fix typo
355c882
Merge branch 'fix-307-Temporary-Redirect' of https://github.com/chi2l…
86da08d
fix typo
3d86e61
fix
cc9f3d9
Update server.py
chi2liu cce6d2f
Update test_server.py
chi2liu 04c4bcf
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 1d9632b
Fix 307 temporary redirect refactor (#4)
vectorstain 2761e8f
Merge branch 'main' into fix-307-Temporary-Redirect
chi2liu 2aa0428
Update server.py
chi2liu 5841a55
fix format
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.