René's URL Explorer Experiment


Title: Run transport security tests in process instead of over sockets by maxisbey · Pull Request #2764 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Run transport security tests in process instead of over sockets by maxisbey · Pull Request #2764 · modelcontextprotocol/python-sdk

X Title: Run transport security tests in process instead of over sockets by maxisbey · Pull Request #2764 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Run transport security tests in process instead of over sockets by maxisbey · Pull Request #2764 · modelcontextprotocol/python-sdk

Open Graph Description: The SSE and StreamableHTTP security test files have been flaking in CI. Two recent examples: test_sse_security_custom_allowed_hosts failing with 421 for an explicitly allowed host, and test_idle_se...

X Description: The SSE and StreamableHTTP security test files have been flaking in CI. Two recent examples: test_sse_security_custom_allowed_hosts failing with 421 for an explicitly allowed host, and test_idle_se...

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

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:e8b9f182-81b3-06be-6cd6-16136c104ebb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86AA:CAD76:227BE3D:2DB4E2F:6A5B0A6F
html-safe-nonce68163de6c8430c224b142caf9c6239a2d426c8558f613a9d61459558a5160180
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkFBOkNBRDc2OjIyN0JFM0Q6MkRCNEUyRjo2QTVCMEE2RiIsInZpc2l0b3JfaWQiOiI3MjE5NDMyNDA4MTk0MTU3MTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacde3fbccec4aab774759e3d93069aa0e1d4174a4944597c52c104d262a7477acb
hovercard-subject-tagpull_request:3790417850
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/2764/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/03bbc931c0a8b2817254109c1b68667c1596617345ad456de73fe36633344e57/modelcontextprotocol/python-sdk/pull/2764
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/03bbc931c0a8b2817254109c1b68667c1596617345ad456de73fe36633344e57/modelcontextprotocol/python-sdk/pull/2764
og:image:altThe SSE and StreamableHTTP security test files have been flaking in CI. Two recent examples: test_sse_security_custom_allowed_hosts failing with 421 for an explicitly allowed host, and test_idle_se...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2764#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2764
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%2F2764
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/2764
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2764
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2764
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2764
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.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
maxisbey/deflake-security-testshttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/deflake-security-tests
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2764
Commits1 (1)https://github.com/modelcontextprotocol/python-sdk/pull/2764/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2764/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2764/files
Run transport security tests in process instead of over socketshttps://github.com/modelcontextprotocol/python-sdk/pull/2764#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
maxisbey/deflake-security-testshttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/deflake-security-tests
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2764#issue-4574153187
test_sse_security_custom_allowed_hosts failing with 421 for an explicitly allowed hosthttps://github.com/modelcontextprotocol/python-sdk/actions/runs/26833728900/job/79121836557
test_idle_session_is_reaped failing with 406 instead of 404 on Windowshttps://github.com/modelcontextprotocol/python-sdk/actions/runs/26830483618/job/79110050507
MCP Documentationhttps://modelcontextprotocol.io
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2764
https://github.com/maxisbey
Run transport security tests in process instead of over socketshttps://github.com/modelcontextprotocol/python-sdk/pull/2764/commits/cb4760df0f29dcb6e267f148acc9a16ade138a09
cb4760dhttps://github.com/modelcontextprotocol/python-sdk/pull/2764/commits/cb4760df0f29dcb6e267f148acc9a16ade138a09
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 2, 2026 18:53https://github.com/modelcontextprotocol/python-sdk/pull/2764#event-26252932489
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2764#pullrequestreview-4412954349
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2764/files/cb4760df0f29dcb6e267f148acc9a16ade138a09
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
b3025f9https://github.com/modelcontextprotocol/python-sdk/commit/b3025f93b4ba63c6d0d04b1357947ecdb78eb0bd
Jun 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2764#event-26254338655
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2764
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 2, 2026 19:30https://github.com/modelcontextprotocol/python-sdk/pull/2764#event-26254339902
Run SSE and Unicode transport tests in process instead of over sockets #2765 https://github.com/modelcontextprotocol/python-sdk/pull/2765
Run StreamableHTTP transport tests in process instead of over sockets #2767 https://github.com/modelcontextprotocol/python-sdk/pull/2767
tests: avoid racy HTTP test ports #2760 https://github.com/modelcontextprotocol/python-sdk/pull/2760
Fix flaky test test_response in test_streamable_http.py #1573 https://github.com/modelcontextprotocol/python-sdk/issues/1573
maxisbeyhttps://github.com/maxisbey
Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2764#ref-commit-40687f0
https://github.com/maxisbey
Merge origin/main (in-process transport testshttps://github.com/modelcontextprotocol/python-sdk/commit/40687f04a26a5022b4ac45e57d205e2941b20aca
#2764https://github.com/modelcontextprotocol/python-sdk/pull/2764
/2765/2767)https://github.com/modelcontextprotocol/python-sdk/commit/40687f04a26a5022b4ac45e57d205e2941b20aca
40687f0https://github.com/modelcontextprotocol/python-sdk/commit/40687f04a26a5022b4ac45e57d205e2941b20aca
maxisbeyhttps://github.com/maxisbey
Jun 4, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2764#ref-commit-7cbfd0f
https://github.com/maxisbey
test: gh-106749 heal in StreamingASGITransport.__aexit__https://github.com/modelcontextprotocol/python-sdk/commit/7cbfd0f4b987a15fd52aa71dfd377f9fd35d9c74
7cbfd0fhttps://github.com/modelcontextprotocol/python-sdk/commit/7cbfd0f4b987a15fd52aa71dfd377f9fd35d9c74
#2764https://github.com/modelcontextprotocol/python-sdk/pull/2764
Remove the unsupported WebSocket transport #2785 https://github.com/modelcontextprotocol/python-sdk/pull/2785
[v1.x] Backport transport test deflakes from main (tests-only) #2837 https://github.com/modelcontextprotocol/python-sdk/pull/2837
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%2F2764
https://github.com/Kludex
Kludex https://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/2764/files/cb4760df0f29dcb6e267f148acc9a16ade138a09
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2764
https://github.com/maxisbey
https://github.com/Kludex
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.