Title: [v1.x] fix: handle non-UTF-8 bytes in stdio server stdin by maxisbey · Pull Request #2303 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: [v1.x] fix: handle non-UTF-8 bytes in stdio server stdin by maxisbey · Pull Request #2303 · modelcontextprotocol/python-sdk
X Title: [v1.x] fix: handle non-UTF-8 bytes in stdio server stdin by maxisbey · Pull Request #2303 · modelcontextprotocol/python-sdk
Description: Backport of #2302 to v1.x. Cherry-pick of the main commit with one adaptation: the regression test's final assertion uses JSONRPCMessage(root=valid) instead of valid directly, because on v1.x SessionMessage.message is still a JSONRPCMessage RootModel wrapper (pre-#1908). See #2302 for the full description and test verification.
Open Graph Description: Backport of #2302 to v1.x. Cherry-pick of the main commit with one adaptation: the regression test's final assertion uses JSONRPCMessage(root=valid) instead of valid directly, because on v1.x S...
X Description: Backport of #2302 to v1.x. Cherry-pick of the main commit with one adaptation: the regression test's final assertion uses JSONRPCMessage(root=valid) instead of valid directly, because on v1...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2303
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:217ca345-85cc-34dc-bc21-c4ba34a1e0f3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B72A:3C53EF:36DEFC0:4D1E871:6A5F9996 |
| html-safe-nonce | 8fcedd74d042c1e85b51472676bad96c09abe8c3b3832aed372cd77da04c7ce5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzJBOjNDNTNFRjozNkRFRkMwOjREMUU4NzE6NkE1Rjk5OTYiLCJ2aXNpdG9yX2lkIjoiMjcwMTExNTMwNzAzOTEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f0e3b7cc8b19ab73f7bce4bf45b53d58f53906f6526ea445aa33fe779606bb7 |
| hovercard-subject-tag | pull_request:3410672979 |
| 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/2303/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Backport of #2302 to v1.x. Cherry-pick of the main commit with one adaptation: the regression test's final assertion uses JSONRPCMessage(root=valid) instead of valid directly, because on v1.x S... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9353cc7b48460319d80daeeb399e4919b4abcfe6f78d37c7b457924d164a40b1 |
| 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 | 755d210ae728fcf699d7ab1cdd9866592be6ad35 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width