Merge pull request #359 from koic/case_insensitive_accept_header

Fix case-sensitive Accept header comparison
This commit is contained in:
Koichi ITO 2026-05-24 00:00:43 +09:00 • committed by GitHub
commit dd7dacae47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -504,7 +504,7 @@ module MCP
def parse_accept_header(header)
header.split(",").map do |part|
part.split(";").first.strip
part.split(";").first.strip.downcase
end
end