Title: fix: consume response body on unexpected content type to prevent client hang by vishal-vanam · Pull Request #2438 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix: consume response body on unexpected content type to prevent client hang by vishal-vanam · Pull Request #2438 · modelcontextprotocol/python-sdk
X Title: fix: consume response body on unexpected content type to prevent client hang by vishal-vanam · Pull Request #2438 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix: consume response body on unexpected content type to prevent client hang by vishal-vanam · Pull Request #2438 · modelcontextprotocol/python-sdk
Open Graph Description: Summary Fixes #2432 When an MCP server returns an unexpected Content-Type (e.g. text/plain instead of application/json or text/event-stream), session.initialize() hangs indefinitely because the res...
X Description: Summary Fixes #2432 When an MCP server returns an unexpected Content-Type (e.g. text/plain instead of application/json or text/event-stream), session.initialize() hangs indefinitely because the res...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2438
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6355f35a-958e-12a8-ae90-d441a0624d4d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E60C:222302:832B2E:87107B:6A6382A1 |
| html-safe-nonce | 1c4d0200f810432c399d7f65897011c32dc581ee8b5f05b694cea0c859bf3370 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjBDOjIyMjMwMjo4MzJCMkU6ODcxMDdCOjZBNjM4MkExIiwidmlzaXRvcl9pZCI6IjQ2NDk5NzQ4Nzk0NDYzMDk0NSIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | e8a591ff69e14f6a0c7f940a43dd289202cb5a3c5efb4f8267988bb8f6d41d12 |
| hovercard-subject-tag | pull_request:3525770886 |
| 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/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2438/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5d99dbf24448de25b81836969ef4f42dc3d3facd760fd85783753cfc79c139fd/modelcontextprotocol/python-sdk/pull/2438 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d99dbf24448de25b81836969ef4f42dc3d3facd760fd85783753cfc79c139fd/modelcontextprotocol/python-sdk/pull/2438 |
| og:image:alt | Summary Fixes #2432 When an MCP server returns an unexpected Content-Type (e.g. text/plain instead of application/json or text/event-stream), session.initialize() hangs indefinitely because the res... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vishal-vanam |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width