Title: fix: use ASGI callable for SSE endpoint to avoid BaseHTTPMiddleware AssertionError (#883) by Ashutosh0x · Pull Request #2029 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix: use ASGI callable for SSE endpoint to avoid BaseHTTPMiddleware AssertionError (#883) by Ashutosh0x · Pull Request #2029 · modelcontextprotocol/python-sdk
X Title: fix: use ASGI callable for SSE endpoint to avoid BaseHTTPMiddleware AssertionError (#883) by Ashutosh0x · Pull Request #2029 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix: use ASGI callable for SSE endpoint to avoid BaseHTTPMiddleware AssertionError (#883) by Ashutosh0x · Pull Request #2029 · modelcontextprotocol/python-sdk
Open Graph Description: When Starlette's BaseHTTPMiddleware wraps the SSE endpoint, it expects http.response.body messages. However, the SSE handler sends raw ASGI events, causing 'AssertionError: Unexpected messa...
X Description: When Starlette's BaseHTTPMiddleware wraps the SSE endpoint, it expects http.response.body messages. However, the SSE handler sends raw ASGI events, causing 'AssertionError: Unexpect...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2029
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6abd4b7d-7073-e1f5-8fdf-14aa04afba02 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D93A:6972A:24307FE:30BDA19:6A59ADBB |
| html-safe-nonce | 188a303d8b7975a85fbcb94c82ca3403e161b605b963081a77a23176d9334d81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTNBOjY5NzJBOjI0MzA3RkU6MzBCREExOTo2QTU5QURCQiIsInZpc2l0b3JfaWQiOiIzNDUxODY1MTY2MDM5ODU0NTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 967786e942980be647b1f5680f8a2b33ab0ce22d4d7b976186e375ef1ba33883 |
| hovercard-subject-tag | pull_request:3268715393 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2029/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/847434a026aae4b86188ec9483be003f10b8ba3b83fa5453a567f30ea85a553c/modelcontextprotocol/python-sdk/pull/2029 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/847434a026aae4b86188ec9483be003f10b8ba3b83fa5453a567f30ea85a553c/modelcontextprotocol/python-sdk/pull/2029 |
| og:image:alt | When Starlette's BaseHTTPMiddleware wraps the SSE endpoint, it expects http.response.body messages. However, the SSE handler sends raw ASGI events, causing 'AssertionError: Unexpected messa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ashutosh0x |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width