Title: Return 405 for GET in stateless mode by MukundaKatta · Pull Request #2475 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Return 405 for GET in stateless mode by MukundaKatta · Pull Request #2475 · modelcontextprotocol/python-sdk
X Title: Return 405 for GET in stateless mode by MukundaKatta · Pull Request #2475 · modelcontextprotocol/python-sdk
Description: Summary return 405 with Allow: POST for standalone GET requests when the server is running in stateless mode keep the existing stateful GET SSE behavior unchanged add an end-to-end regression test for stateless GET requests Testing python3 -m py_compile src/mcp/server/streamable_http.py tests/shared/test_streamable_http.py pytest tests/shared/test_streamable_http.py -k "stateless or method_not_allowed or get_validation" (not run locally: pytest is not installed in this environment)
Open Graph Description: Summary return 405 with Allow: POST for standalone GET requests when the server is running in stateless mode keep the existing stateful GET SSE behavior unchanged add an end-to-end regression test...
X Description: Summary return 405 with Allow: POST for standalone GET requests when the server is running in stateless mode keep the existing stateful GET SSE behavior unchanged add an end-to-end regression test...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2475
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:812f9e33-d7db-aef1-a73d-061c601f0c84 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACC8:13F74:5D8BDE:7C1583:6A5BD835 |
| html-safe-nonce | 11b8845768d4cfa02f96fe647b5a415db013bd6ab8474dc6754eceb55dd21c64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0M4OjEzRjc0OjVEOEJERTo3QzE1ODM6NkE1QkQ4MzUiLCJ2aXNpdG9yX2lkIjoiNzQ3OTAyMTY0NDYwODY5MDIyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2641f700beae7371055746d224632447908e3ae076fb06025776a59ad919515b |
| hovercard-subject-tag | pull_request:3552943792 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2475/files |
| twitter:image | https://avatars.githubusercontent.com/u/99349238?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/99349238?s=400&v=4 |
| og:image:alt | Summary return 405 with Allow: POST for standalone GET requests when the server is running in stateless mode keep the existing stateful GET SSE behavior unchanged add an end-to-end regression test... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width