Title: Fix non-OK HTTP POST responses handling by chemicL · Pull Request #374 · modelcontextprotocol/java-sdk · GitHub
Open Graph Title: Fix non-OK HTTP POST responses handling by chemicL · Pull Request #374 · modelcontextprotocol/java-sdk
X Title: Fix non-OK HTTP POST responses handling by chemicL · Pull Request #374 · modelcontextprotocol/java-sdk
Description: Currently, JDK HttpClient SSE implementation incorrectly handles a non-2xx HTTP response code for POST. Instead of immediately failing the caller, it ignores the issue and the user awaits until the timeout kicks in. A related problem happened with the WebClient Streamable HTTP implementation, where the error was swallowed for non-400 responses.
Open Graph Description: Currently, JDK HttpClient SSE implementation incorrectly handles a non-2xx HTTP response code for POST. Instead of immediately failing the caller, it ignores the issue and the user awaits until the...
X Description: Currently, JDK HttpClient SSE implementation incorrectly handles a non-2xx HTTP response code for POST. Instead of immediately failing the caller, it ignores the issue and the user awaits until the...
Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/374
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ec5d3a01-2f30-d64a-0416-a01c0ded0363 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 891E:355826:6A640B7:8E1AA57:6A5DF81D |
| html-safe-nonce | a623ec7a7a393bc31a4088309ea73a4316851375255ddc046983e2adbcdde459 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTFFOjM1NTgyNjo2QTY0MEI3OjhFMUFBNTc6NkE1REY4MUQiLCJ2aXNpdG9yX2lkIjoiMTE2ODc0MTA4NjQxODMwMzAwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4f0e41f033a7ebe678020e04ed078fefa4b1c354571c2f7ef71d577e1c775f6b |
| hovercard-subject-tag | pull_request:2641745277 |
| 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/modelcontextprotocol/java-sdk/pull/374/files |
| twitter:image | https://avatars.githubusercontent.com/u/2554306?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2554306?s=400&v=4 |
| og:image:alt | Currently, JDK HttpClient SSE implementation incorrectly handles a non-2xx HTTP response code for POST. Instead of immediately failing the caller, it ignores the issue and the user awaits until the... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8603048a7a8270fc5b845c28ec71e80a9a899268387bcf65814ee1b51c0cc4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 919609219 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 919609219 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/java-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e2a5561aeb049d0632a92906af784af5d414c603 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width