René's URL Explorer Experiment


Title: [v1.x] fix: return HTTP 404 for unknown session IDs instead of 400 by LucaButBoring · Pull Request #1945 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: [v1.x] fix: return HTTP 404 for unknown session IDs instead of 400 by LucaButBoring · Pull Request #1945 · modelcontextprotocol/python-sdk

X Title: [v1.x] fix: return HTTP 404 for unknown session IDs instead of 400 by LucaButBoring · Pull Request #1945 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - [v1.x] fix: return HTTP 404 for unknown session IDs instead of 400 by LucaButBoring · Pull Request #1945 · modelcontextprotocol/python-sdk

Open Graph Description: This is a backport of #1808 to the v1.x branch. Original PR description: Summary Fixes incorrect HTTP status code returned by StreamableHTTPSessionManager when receiving requests with unknown or e...

X Description: This is a backport of #1808 to the v1.x branch. Original PR description: Summary Fixes incorrect HTTP status code returned by StreamableHTTPSessionManager when receiving requests with unknown or e...

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

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:acd39792-cfdb-d59d-e05e-c4a9cd15e7d4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECC8:91298:E3BC45:130EC72:6A56B3F8
html-safe-nonce5f0c429f65d4c695e2795cbdc20baa4f6cb83470501d5efd2cc03dbca5ad4bbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0M4OjkxMjk4OkUzQkM0NToxMzBFQzcyOjZBNTZCM0Y4IiwidmlzaXRvcl9pZCI6IjUyNDIwMzExNDAxNTI3MTgzMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac636f8b2b744818824caf51e5676225c46ef4198af2c5331f903a958762b0efcf
hovercard-subject-tagpull_request:3205245321
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/1945/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8e4fed944c8960c669b82ddb717967ff71955e17fcba4b6578bc2c04864fbaeb/modelcontextprotocol/python-sdk/pull/1945
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e4fed944c8960c669b82ddb717967ff71955e17fcba4b6578bc2c04864fbaeb/modelcontextprotocol/python-sdk/pull/1945
og:image:altThis is a backport of #1808 to the v1.x branch. Original PR description: Summary Fixes incorrect HTTP status code returned by StreamableHTTPSessionManager when receiving requests with unknown or e...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLucaButBoring
hostnamegithub.com
expected-hostnamegithub.com
Nonedf99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae
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
releasec29ba03b1896083dbe1084f6cd1c5367d8a0d67c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/1945#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1945
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
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%2F1945
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/1945
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1945
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1945
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1945
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 251 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 289 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
maxisbeyhttps://github.com/maxisbey
modelcontextprotocol:v1.xhttps://github.com/modelcontextprotocol/python-sdk/tree/v1.x
LucaButBoring:fix/1808-backport-v1.xhttps://github.com/LucaButBoring/mcp-python-sdk/tree/fix/1808-backport-v1.x
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1945
Commits1 (1)https://github.com/modelcontextprotocol/python-sdk/pull/1945/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1945/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1945/files
[v1.x] fix: return HTTP 404 for unknown session IDs instead of 400https://github.com/modelcontextprotocol/python-sdk/pull/1945#top
maxisbeyhttps://github.com/maxisbey
modelcontextprotocol:v1.xhttps://github.com/modelcontextprotocol/python-sdk/tree/v1.x
LucaButBoring:fix/1808-backport-v1.xhttps://github.com/LucaButBoring/mcp-python-sdk/tree/fix/1808-backport-v1.x
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jan 23, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1945#issue-3849639819
#1808https://github.com/modelcontextprotocol/python-sdk/pull/1808
#1727https://github.com/modelcontextprotocol/python-sdk/issues/1727
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1945
https://github.com/max-rousseau
https://github.com/maxisbey
https://github.com/LucaButBoring
fix: return HTTP 404 for unknown session IDs instead of 400 (https://github.com/modelcontextprotocol/python-sdk/pull/1945/commits/85bac7c4566eb9d855c00209e86ff1b85d8ac143
modelcon…https://github.com/modelcontextprotocol/python-sdk/pull/1808
85bac7chttps://github.com/modelcontextprotocol/python-sdk/pull/1945/commits/85bac7c4566eb9d855c00209e86ff1b85d8ac143
…textprotocol#1808https://github.com/modelcontextprotocol/python-sdk/pull/1808
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jan 24, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1945#pullrequestreview-3701868839
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1945/files/85bac7c4566eb9d855c00209e86ff1b85d8ac143
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
3d9d345https://github.com/modelcontextprotocol/python-sdk/commit/3d9d34552a9ab8988acf8d06e4a705bd799fc32b
Jan 24, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1945#event-22266419899
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1945
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
January 24, 2026 21:15https://github.com/modelcontextprotocol/python-sdk/pull/1945#event-22267520592
https://github.com/saidsef
saidsefhttps://github.com/saidsef
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1945#ref-issue-3867752641
chore: update Model Context Protocol SDK to support resource metadata and improved HTTP error handling saidsef/mcp-github-pr-issue-analyser#174 https://github.com/saidsef/mcp-github-pr-issue-analyser/issues/174
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
May 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1945#ref-issue-3167882528
Session ID not present in memory store should return 404, not 400 #1004 https://github.com/modelcontextprotocol/python-sdk/issues/1004
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%2F1945
https://github.com/maxisbey
maxisbey https://github.com/maxisbey
https://github.com/modelcontextprotocol/python-sdk/pull/1945/files/85bac7c4566eb9d855c00209e86ff1b85d8ac143
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1945
https://github.com/LucaButBoring
https://github.com/maxisbey
https://github.com/max-rousseau
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.