René's URL Explorer Experiment


Title: fix(streamable-http): fail request when resumable SSE stream can't complete by Epochex · Pull Request #2732 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix(streamable-http): fail request when resumable SSE stream can't complete by Epochex · Pull Request #2732 · modelcontextprotocol/python-sdk

X Title: fix(streamable-http): fail request when resumable SSE stream can't complete by Epochex · Pull Request #2732 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix(streamable-http): fail request when resumable SSE stream can't complete by Epochex · Pull Request #2732 · modelcontextprotocol/python-sdk

Open Graph Description: Fixes #1577. When a POST responds with ext/event-stream and the stream disconnects before a terminal JSON-RPC response/error arrives, the client transport tries to resume via GET + Last-Event-ID. ...

X Description: Fixes #1577. When a POST responds with ext/event-stream and the stream disconnects before a terminal JSON-RPC response/error arrives, the client transport tries to resume via GET + Last-Event-ID. ...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2732

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:34eaae02-6997-3273-1a15-dda05cdb20d1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8062:26BA35:A02FD8:DD799A:6A63B7FF
html-safe-noncea4062438a05ea39a754b88f7092f48eba94e82b2e62fd202ea0aecb70668d479
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDYyOjI2QkEzNTpBMDJGRDg6REQ3OTlBOjZBNjNCN0ZGIiwidmlzaXRvcl9pZCI6IjMyMDQyMzU0MDM1MDA2OTc2MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac48132d1b2c64939ec504f5b1bc48a7ec6bae6289176c1f6f245e8f1a0db3eac5
hovercard-subject-tagpull_request:3775004439
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2732/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/733c8cf04ecbe682ab64021a2f4ca6b411a656071d1b4d18009ae88f64b6cee6/modelcontextprotocol/python-sdk/pull/2732
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/733c8cf04ecbe682ab64021a2f4ca6b411a656071d1b4d18009ae88f64b6cee6/modelcontextprotocol/python-sdk/pull/2732
og:image:altFixes #1577. When a POST responds with ext/event-stream and the stream disconnects before a terminal JSON-RPC response/error arrives, the client transport tries to resume via GET + Last-Event-ID. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEpochex
hostnamegithub.com
expected-hostnamegithub.com
Noneb1a203abf5b8fb9010b42a32ce0f19fb6e11e656f254d0d3dcdba4b65a6961a6
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3ae9132c55b60e2a8f9553322217eb369dd24575
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2732#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2732
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F2732
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
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2732
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2732
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2732
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://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 246 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
Epochexhttps://github.com/Epochex
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
Epochex:fix/1577-streamable-http-disconnect-errorhttps://github.com/Epochex/python-sdk/tree/fix/1577-streamable-http-disconnect-error
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2732
Commits14 (14)https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2732/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/files
fix(streamable-http): fail request when resumable SSE stream can't completehttps://github.com/modelcontextprotocol/python-sdk/pull/2732#top
Epochexhttps://github.com/Epochex
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
Epochex:fix/1577-streamable-http-disconnect-errorhttps://github.com/Epochex/python-sdk/tree/fix/1577-streamable-http-disconnect-error
https://github.com/Epochex
Epochexhttps://github.com/Epochex
May 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2732#issue-4555801998
#1577https://github.com/modelcontextprotocol/python-sdk/issues/1577
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2732#pullrequestreview-4588154904
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2732/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
https://github.com/modelcontextprotocol/python-sdk/pull/2732#pullrequestreview-4588154904
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/2732/ai_pr_review_1782683530290_646c1531-a8fb-4265-bd4b-34c095a878b4?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/2732/ai_pr_review_1782683530290_646c1531-a8fb-4265-bd4b-34c095a878b4?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2732
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
tests/client/test_streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/files#diff-09ecebf3cb1cb198a43bd3159ecf388a4dfdc38f93c9812b671f40fc2c83ec29
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
July 7, 2026 16:38https://github.com/modelcontextprotocol/python-sdk/pull/2732#commits-pushed-beeb254
https://github.com/Epochex
test(streamable-http): ensure resumption failure does not hanghttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/beeb2544d8e92fc3b1cad4b702a84f259a660db5
beeb254https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/beeb2544d8e92fc3b1cad4b702a84f259a660db5
https://github.com/Epochex
test(streamable-http): cover disconnect without resumption anchorhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/67b93e5050164181406db4d5c509153731873a22
67b93e5https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/67b93e5050164181406db4d5c509153731873a22
https://github.com/Epochex
fix: make streamable-http tests pass CIhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/c4cff468e2f67958245d2f3213e5da25d6fdc027
c4cff46https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/c4cff468e2f67958245d2f3213e5da25d6fdc027
https://github.com/Epochex
test(streamable-http): suppress deprecated logging warninghttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/0b325f2fc1c3d0d4beaad3f3ea741d0a7c006633
0b325f2https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/0b325f2fc1c3d0d4beaad3f3ea741d0a7c006633
https://github.com/Epochex
fix(streamable-http): tolerate closed read streams during SSE cleanuphttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/eef7986a8b1551a77b43e3cf23afc7a3260e582f
eef7986https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/eef7986a8b1551a77b43e3cf23afc7a3260e582f
https://github.com/Epochex
test(streamable-http): cover closed read stream cleanuphttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/2abc3c1837b1a5c41c7d55b3cb22eb719e71a19b
2abc3c1https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/2abc3c1837b1a5c41c7d55b3cb22eb719e71a19b
https://github.com/Epochex
fix(streamable-http): bound empty SSE reconnect loopshttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/9e33664f30e9077cb320899f6f0df36970df31ab
9e33664https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/9e33664f30e9077cb320899f6f0df36970df31ab
https://github.com/Epochex
test(streamable-http): keep reconnect fake coveredhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/e39f069015853a6aa414a2defdc102b2e7851950
e39f069https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/e39f069015853a6aa414a2defdc102b2e7851950
https://github.com/Epochex
test(streamable-http): exempt dropped async generator yieldhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/4c0174adeb00515104473a07103517b888298f91
4c0174ahttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/4c0174adeb00515104473a07103517b888298f91
https://github.com/Epochex
test(streamable-http): mark traced timeout guards no-branchhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/bb31f9b37eeaf5a29f8956d7bc6a77683a52a531
bb31f9bhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/bb31f9b37eeaf5a29f8956d7bc6a77683a52a531
https://github.com/Epochex
test(streamable-http): apply ruff import orderhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/9aad16dfa3159e775e66cd071958d7d4ccaac86c
9aad16dhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/9aad16dfa3159e775e66cd071958d7d4ccaac86c
https://github.com/Epochex
test(streamable-http): cover closed SSE readerhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/95730a710f2e9d29d817583a5f65b060beb78965
95730a7https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/95730a710f2e9d29d817583a5f65b060beb78965
https://github.com/Epochex
test(streamable-http): align reconnect exhaustion assertionhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/e271dc176170e83d8af6b562e980766dbe6cde18
e271dc1https://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/e271dc176170e83d8af6b562e980766dbe6cde18
https://github.com/Epochex
test(streamable-http): cover closed-send helperhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/f7f12ad753a26743155a11f655379205b3d06a3c
f7f12adhttps://github.com/modelcontextprotocol/python-sdk/pull/2732/commits/f7f12ad753a26743155a11f655379205b3d06a3c
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2732
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/2732/files/8650d5c1adf97d189c69e35242095af293856889
Client tool call hangs forever if server crashes or connection dies when using streamable-http https://github.com/modelcontextprotocol/python-sdk/issues/1577
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2732
https://github.com/Epochex
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.