| 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:8016f469-a860-5e81-d06b-729e49f535ae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AC5E:26817B:2D8D23:3E45DE:6A63987D |
| html-safe-nonce | 9cd6d179c080d0329a1aab72b9227e3b71c3013f237548ffb5a1ac9f214201cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzVFOjI2ODE3QjoyRDhEMjM6M0U0NURFOjZBNjM5ODdEIiwidmlzaXRvcl9pZCI6IjUzMTM2NjMyOTA3OTUzNTc0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4ebbce86529915feee641a5c6e558b36fbd03724f55dc97de5d67a0881d751e5 |
| hovercard-subject-tag | pull_request:3551395585 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2472/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ca142097738de04037b7eeb00f30140673683d0ef700ec7eb63b22e48621e371/modelcontextprotocol/python-sdk/pull/2472 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca142097738de04037b7eeb00f30140673683d0ef700ec7eb63b22e48621e371/modelcontextprotocol/python-sdk/pull/2472 |
| og:image:alt | Summary
Adds a regression test (test_initialize_does_not_hang_on_unexpected_content_type) that directly reproduces the hang described in issue Initialize call hangs forever if MCP server does not ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Christian-Sidak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| 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 | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2472#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2472 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2472 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
|
Notifications
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Fork
3.7k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Star
23.7k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
245
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
284
| https://github.com/modelcontextprotocol/python-sdk/pulls |
|
Actions
| https://github.com/modelcontextprotocol/python-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/python-sdk/projects |
|
Models
| https://github.com/modelcontextprotocol/python-sdk/models |
|
Security and quality
6
| https://github.com/modelcontextprotocol/python-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/python-sdk/pulse |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
| https://github.com/modelcontextprotocol/python-sdk/pulls |
|
Actions
| https://github.com/modelcontextprotocol/python-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/python-sdk/projects |
|
Models
| https://github.com/modelcontextprotocol/python-sdk/models |
|
Security and quality
| https://github.com/modelcontextprotocol/python-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/python-sdk/pulse |
| Christian-Sidak | https://github.com/Christian-Sidak |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| Christian-Sidak:fix/issue-2432 | https://github.com/Christian-Sidak/python-sdk/tree/fix/issue-2432 |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| Commits3 (3) | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/2472/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/2472/files |
| test: regression test for initialize hang on unexpected content-type | https://github.com/modelcontextprotocol/python-sdk/pull/2472#top |
| Christian-Sidak | https://github.com/Christian-Sidak |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| Christian-Sidak:fix/issue-2432 | https://github.com/Christian-Sidak/python-sdk/tree/fix/issue-2432 |
|
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| Apr 19, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issue-4290130856 |
| Initialize call hangs forever if MCP server does not return a Content-Type: text/plain #2432 | https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| #2432 | https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| test: add regression test for initialize hang on unexpected content-t… | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits/34dc68a296466a9a025cbfc71d40a91d3384bf30 |
| 34dc68a | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits/34dc68a296466a9a025cbfc71d40a91d3384bf30 |
| modelcontextprotocol#2432 | https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| modelcontextprotocol#2432 | https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
|
Apr 19, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2472#ref-issue-4253218415 |
|
Initialize call hangs forever if MCP server does not return a Content-Type: text/plain
#2432
| https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| Apr 26, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-4321349743 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| May 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-4365502766 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.com/MukundaKatta |
| MukundaKatta | https://github.com/MukundaKatta |
| May 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-4366908252 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| May 4, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-4368632721 |
| #2432 | https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| May 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-4418097787 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
|
| https://github.com/Christian-Sidak |
| Update httpx/mcp.types references to match renamed httpx2/mcp_types o… | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits/b5ddbf442ccbe3e8594935640611bdab793706a8 |
| b5ddbf4 | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits/b5ddbf442ccbe3e8594935640611bdab793706a8 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| Jul 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-4999395111 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.com/apps/cubic-dev-ai |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
|
Jul 17, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2472#pullrequestreview-4719653735 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2472/files/b5ddbf442ccbe3e8594935640611bdab793706a8 |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.com/modelcontextprotocol/python-sdk/pull/2472#pullrequestreview-4719653735 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Re-trigger cubic | https://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2472/ai_pr_review_1784266866459_eaee78e2-e3ea-4b6e-94ac-527fae47c3f5?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2472 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| tests/client/test_notification_response.py | https://github.com/modelcontextprotocol/python-sdk/pull/2472/files/b5ddbf442ccbe3e8594935640611bdab793706a8#diff-8c7bb1142c1c9cb43b4d2e7bf265054daca89ba175deec8b690f00464c00c182 |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| Jul 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#discussion_r3600648003 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| tests/client/test_notification_response.py | https://github.com/modelcontextprotocol/python-sdk/pull/2472/files/b5ddbf442ccbe3e8594935640611bdab793706a8#diff-8c7bb1142c1c9cb43b4d2e7bf265054daca89ba175deec8b690f00464c00c182 |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| Jul 17, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#discussion_r3600648007 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| tests/client/test_notification_response.py | https://github.com/modelcontextprotocol/python-sdk/pull/2472/files/b5ddbf442ccbe3e8594935640611bdab793706a8#diff-8c7bb1142c1c9cb43b4d2e7bf265054daca89ba175deec8b690f00464c00c182 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
|
| https://github.com/Christian-Sidak |
| test: bound initialize() with anyio.fail_after to fail fast on regres… | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits/5ef8194171573b961e67967b767b06b8844e04f4 |
| 5ef8194 | https://github.com/modelcontextprotocol/python-sdk/pull/2472/commits/5ef8194171573b961e67967b767b06b8844e04f4 |
| https://github.com/Christian-Sidak |
| Christian-Sidak | https://github.com/Christian-Sidak |
| Jul 19, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2472#issuecomment-5014596475 |
| 5ef8194 | https://github.com/modelcontextprotocol/python-sdk/commit/5ef8194171573b961e67967b767b06b8844e04f4 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2472 |
|
| https://github.com/apps/cubic-dev-ai |
|
cubic-dev-ai[bot]
| https://github.com/apps/cubic-dev-ai |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2472/files/b5ddbf442ccbe3e8594935640611bdab793706a8 |
|
Initialize call hangs forever if MCP server does not return a Content-Type: text/plain
| https://github.com/modelcontextprotocol/python-sdk/issues/2432 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2472 |
|
| https://github.com/Christian-Sidak |
|
| https://github.com/MukundaKatta |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |