Koichi ITO
9b89620257
Fix case-sensitive Accept header comparison
...
## Motivation and Context
RFC 9110 defines media type comparison as case-insensitive,
but `parse_accept_header` compared types without normalizing case.
This caused `Application/JSON` or `TEXT/Event-Stream` to be rejected
with 406 Not Acceptable.
## How Has This Been Tested?
Added tests for mixed-case Accept headers:
- `Accept: Application/JSON, Text/Event-Stream` succeeds for POST
- `Accept: TEXT/EVENT-STREAM` succeeds for GET SSE
## Breaking Changes
None. This is a bug fix bringing behavior into conformance with RFC 9110.
2026-05-23 21:36:27 +09:00
..
client
Add OAuth 2.1 client support for MCP authorization flow
2026-05-17 00:48:41 +09:00
prompt
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
resource
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
server
Fix case-sensitive Accept header comparison
2026-05-23 21:36:27 +09:00
tool
Advertise JSON Schema 2020-12 dialect on emitted tool schemas
2026-05-11 13:44:30 +09:00
annotations.rb
Extract MCP::Annotations into a dedicated file
2026-02-03 15:38:04 +09:00
cancellation.rb
Support notifications/cancelled per MCP specification
2026-05-03 04:02:22 +09:00
cancelled_error.rb
Support notifications/cancelled per MCP specification
2026-05-03 04:02:22 +09:00
client.rb
Add OAuth 2.1 client support for MCP authorization flow
2026-05-17 00:48:41 +09:00
configuration.rb
feat: add opt-in tool output validation
2026-05-12 16:20:43 -04:00
content.rb
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
icon.rb
Support icons parameter
2025-12-30 05:35:22 +09:00
instrumentation.rb
Add around_request hook for request instrumentation
2026-04-11 13:54:47 +09:00
logging_message_notification.rb
logging_message_notification: Remove unused require
2026-02-05 16:05:08 -05:00
methods.rb
Add roots/list and notifications/roots/list_changed support
2026-04-15 02:39:14 +09:00
progress.rb
Support POST response SSE streams for server-to-client messages
2026-04-04 19:20:31 +09:00
prompt.rb
Use autoload to defer loading of unused subsystems
2026-03-12 14:08:27 +09:00
resource.rb
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
resource_template.rb
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
server.rb
Reject duplicate initialize requests ( #350 )
2026-05-18 00:00:23 -04:00
server_context.rb
Support notifications/cancelled per MCP specification
2026-05-03 04:02:22 +09:00
server_session.rb
Reject duplicate initialize requests ( #350 )
2026-05-18 00:00:23 -04:00
string_utils.rb
Fix ReDoS vulnerability in StringUtils#underscore
2026-01-09 01:14:52 +09:00
tool.rb
Use autoload to defer loading of unused subsystems
2026-03-12 14:08:27 +09:00
transport.rb
Auto-set server.transport in Transport#initialize
2026-04-09 12:08:55 +09:00
version.rb
Release 0.17.0
2026-05-20 12:31:59 +09:00