René's URL Explorer Experiment


Title: fix: accept wildcard media types in Accept header per RFC 7231 by shivama205 · Pull Request #2152 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: accept wildcard media types in Accept header per RFC 7231 by shivama205 · Pull Request #2152 · modelcontextprotocol/python-sdk

X Title: fix: accept wildcard media types in Accept header per RFC 7231 by shivama205 · Pull Request #2152 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix: accept wildcard media types in Accept header per RFC 7231 by shivama205 · Pull Request #2152 · modelcontextprotocol/python-sdk

Open Graph Description: Summary Fix _check_accept_headers to accept wildcard media types (*/*, application/*, text/*) in the Accept header, per RFC 7231, section 5.3.2 Strip quality value parameters (e.g. ;q=0.8) before ...

X Description: Summary Fix _check_accept_headers to accept wildcard media types (*/*, application/*, text/*) in the Accept header, per RFC 7231, section 5.3.2 Strip quality value parameters (e.g. ;q=0.8) before ...

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

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:9fa17fac-5eb6-beb3-1781-9762a4c1a6c4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD42:151940:1851BDB:22CA500:6A5A3687
html-safe-noncef093993e9779619c497f62009d3c842ea07ea6f7e6ea6c821641181092307c68
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQyOjE1MTk0MDoxODUxQkRCOjIyQ0E1MDA6NkE1QTM2ODciLCJ2aXNpdG9yX2lkIjoiMjA2MTIyMDY3NDc1MzE0ODU1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb979bc7e6bbf41c293e57fbfaa65410bb87a4dbef38631f610d9d4358c7cd8ee
hovercard-subject-tagpull_request:3333961995
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/2152/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/590647ba444691b356ce2442efd111fef74428f0371ee15414756353a0d1ab82/modelcontextprotocol/python-sdk/pull/2152
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/590647ba444691b356ce2442efd111fef74428f0371ee15414756353a0d1ab82/modelcontextprotocol/python-sdk/pull/2152
og:image:altSummary Fix _check_accept_headers to accept wildcard media types (*/*, application/*, text/*) in the Accept header, per RFC 7231, section 5.3.2 Strip quality value parameters (e.g. ;q=0.8) before ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshivama205
hostnamegithub.com
expected-hostnamegithub.com
None19c67ad7579d2401ff06e88a32ef45460fbb40fab3191c7f7582d5e166f326fc
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
releasee618485bff22dab2ef1ffb4e34e4e6626688df69
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2152#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2152
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%2F2152
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/2152
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2152
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2152
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
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 255 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 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:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
shivama205:fix/accept-header-wildcardshttps://github.com/shivama205/python-sdk/tree/fix/accept-header-wildcards
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2152
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/2152/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2152/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2152/files
fix: accept wildcard media types in Accept header per RFC 7231https://github.com/modelcontextprotocol/python-sdk/pull/2152#top
maxisbeyhttps://github.com/maxisbey
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
shivama205:fix/accept-header-wildcardshttps://github.com/shivama205/python-sdk/tree/fix/accept-header-wildcards
https://github.com/shivama205
shivama205https://github.com/shivama205
Feb 27, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#issue-3998989026
#1641https://github.com/modelcontextprotocol/python-sdk/issues/1641
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/shivama205
shivama205https://github.com/shivama205
Feb 27, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#issuecomment-3970761113
@Kludexhttps://github.com/Kludex
@maxisbeyhttps://github.com/maxisbey
#1641https://github.com/modelcontextprotocol/python-sdk/issues/1641
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/shivama205
shivama205https://github.com/shivama205
Feb 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#issuecomment-3976574553
@felixweinbergerhttps://github.com/felixweinberger
@maxisbeyhttps://github.com/maxisbey
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/shivama205
shivama205https://github.com/shivama205
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/b5d0136a0780d54c5fa630303ac7a04fd05b7026..6c49c5fc1e065707c1b1cf9e5eb9b6ad3db2b702
b5d0136https://github.com/modelcontextprotocol/python-sdk/commit/b5d0136a0780d54c5fa630303ac7a04fd05b7026
6c49c5fhttps://github.com/modelcontextprotocol/python-sdk/commit/6c49c5fc1e065707c1b1cf9e5eb9b6ad3db2b702
Compare https://github.com/modelcontextprotocol/python-sdk/compare/b5d0136a0780d54c5fa630303ac7a04fd05b7026..6c49c5fc1e065707c1b1cf9e5eb9b6ad3db2b702
March 4, 2026 18:36https://github.com/modelcontextprotocol/python-sdk/pull/2152#event-23269845906
https://github.com/shivama205
shivama205https://github.com/shivama205
Mar 4, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#issuecomment-3999434392
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
bug https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Abug
P2 https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3AP2
improves spec compliance https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22improves%20spec%20compliance%22
Mar 5, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#event-23303108084
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 6, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2152#pullrequestreview-3904340285
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2152/files
maxisbeyhttps://github.com/maxisbey
https://github.com/modelcontextprotocol/python-sdk/pull/2152#pullrequestreview-3904340285
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2152/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
tests/shared/test_streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2152/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
tests/shared/test_streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2152/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
tests/shared/test_streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2152/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
March 7, 2026 03:12https://github.com/modelcontextprotocol/python-sdk/pull/2152#commits-pushed-6af5bfe
fix: accept wildcard media types in Accept header per RFC 7231https://github.com/modelcontextprotocol/python-sdk/pull/2152/commits/6af5bfecbd14646f08dded9a3def7eb9020d9cc6
6af5bfehttps://github.com/modelcontextprotocol/python-sdk/pull/2152/commits/6af5bfecbd14646f08dded9a3def7eb9020d9cc6
modelcontextprotocol#1641https://github.com/modelcontextprotocol/python-sdk/issues/1641
https://github.com/shivama205
fix: address review feedback for accept header parsinghttps://github.com/modelcontextprotocol/python-sdk/pull/2152/commits/8e2ec6f58757f400eed13aabbade3732d7d32cee
8e2ec6fhttps://github.com/modelcontextprotocol/python-sdk/pull/2152/commits/8e2ec6f58757f400eed13aabbade3732d7d32cee
https://github.com/shivama205
shivama205https://github.com/shivama205
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/d8bd3e40bc0e55f061c138135429e90c668e4231..8e2ec6f58757f400eed13aabbade3732d7d32cee
d8bd3e4https://github.com/modelcontextprotocol/python-sdk/commit/d8bd3e40bc0e55f061c138135429e90c668e4231
8e2ec6fhttps://github.com/modelcontextprotocol/python-sdk/commit/8e2ec6f58757f400eed13aabbade3732d7d32cee
Compare https://github.com/modelcontextprotocol/python-sdk/compare/d8bd3e40bc0e55f061c138135429e90c668e4231..8e2ec6f58757f400eed13aabbade3732d7d32cee
March 6, 2026 21:44https://github.com/modelcontextprotocol/python-sdk/pull/2152#event-23345411122
https://github.com/shivama205
shivama205https://github.com/shivama205
Mar 6, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#issuecomment-4014358089
@maxisbeyhttps://github.com/maxisbey
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/shivama205
shivama205https://github.com/shivama205
maxisbeyhttps://github.com/maxisbey
March 6, 2026 21:57https://github.com/modelcontextprotocol/python-sdk/pull/2152#event-23345681172
https://github.com/shivama205
shivama205https://github.com/shivama205
Mar 8, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2152#ref-issue-3639034766
MCP Server won't work with wildcard in "Accept" header and therefore is non‑compliant with HTTP spec #1641 https://github.com/modelcontextprotocol/python-sdk/issues/1641
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 9, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2152#pullrequestreview-3916662214
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2152/files/8e2ec6f58757f400eed13aabbade3732d7d32cee
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
51c53f2https://github.com/modelcontextprotocol/python-sdk/commit/51c53f2c189ddc8f5ed0925e582565a0f91b1d9b
Mar 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2152#event-23402357223
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 11, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2152#ref-pullrequest-4641651751
[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%2F2152
https://github.com/maxisbey
maxisbey https://github.com/maxisbey
https://github.com/modelcontextprotocol/python-sdk/pull/2152/files/8e2ec6f58757f400eed13aabbade3732d7d32cee
bug https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Abug
improves spec compliance https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22improves%20spec%20compliance%22
P2 https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3AP2
MCP Server won't work with wildcard in "Accept" header and therefore is non‑compliant with HTTP spec https://github.com/modelcontextprotocol/python-sdk/issues/1641
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2152
https://github.com/shivama205
https://github.com/maxisbey
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.