Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3.9k
Star
24.3k
Code
Issues
234
Pull requests
185
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
fix:streamablehttp_client to raise McpError when receiving unexpected content types instead of just printing error messages.#1382
- #1506
#1506
Closed
Wyn1996
wants to merge 8 commits into
modelcontextprotocol:main
modelcontextprotocol/python-sdk:main
from
Wyn1996:feat/wyn
Wyn1996/python-sdk:feat/wyn
Copy head branch name to clipboard
Conversation
Commits
8
(8)
Checks
Files changed
Closed
fix:streamablehttp_client to raise McpError when receiving unexpected content types instead of just printing error messages.#1382
#1506
Wyn1996
wants to merge 8 commits into
modelcontextprotocol:main
modelcontextprotocol/python-sdk:main
from
Wyn1996:feat/wyn
Wyn1996/python-sdk:feat/wyn
Copy head branch name to clipboard
Commits
Commits on Oct 20, 2025
client(streamable_http): raise JSON-RPC error on unexpected content-type so ClientSession receives McpError; keep fallback exception if no request id; add request id plumbing
Wyn1996
committed
029680c
View commit details
Copy full SHA for 029680c
Browse repository at this point
Commits on Oct 22, 2025
test: add test case for unexpected content type raising McpError
Show description for e0331e6
Wyn1996
committed
e0331e6
View commit details
Copy full SHA for e0331e6
Browse repository at this point
fix: resolve linting errors in test case
Show description for 227a8f8
Wyn1996
committed
227a8f8
View commit details
Copy full SHA for 227a8f8
Browse repository at this point
fix: resolve pyright type checking errors
Show description for 4f47dc2
Wyn1996
committed
4f47dc2
View commit details
Copy full SHA for 4f47dc2
Browse repository at this point
fix: add type ignore to builtins ExceptionGroup import
Show description for 396ec84
Wyn1996
committed
396ec84
View commit details
Copy full SHA for 396ec84
Browse repository at this point
Merge branch 'main' into feat/wyn
Wyn1996
authored
5c960e8
View commit details
Copy full SHA for 5c960e8
Browse repository at this point
docs: improve test docstring for unexpected content type test
Show description for e166ba7
Wyn1996
committed
e166ba7
View commit details
Copy full SHA for e166ba7
Browse repository at this point
fix: remove trailing whitespace in docstring
Show description for a4c2809
Wyn1996
committed
a4c2809
View commit details
Copy full SHA for a4c2809
Browse repository at this point
You can’t perform that action at this time.