Commit a53350a
Address PR review feedback
- WriteUnsupportedProtocolVersionErrorAsync: anchor the prose message to the
July2026 floor ("Starting with protocol version ...") instead of echoing
client input, while reporting the actual requested MCP-Protocol-Version
header in the structured UnsupportedProtocolVersionErrorData.Requested field
for diagnostics/fallback.
- Rename July2026Post_WithUnsupportedProtocolVersionHeader_Returns400_With_Minus32004
to ...Minus32022 to match the renumbered error code.
- Fix mid-sentence capitalization of "introduced" in two McpServerImpl XML docs.
- Correct MetaKeys.ProtocolVersion remark: header/body version mismatches are
rejected with HeaderMismatch, not UnsupportedProtocolVersion.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b898250 commit a53350a
4 files changed
Lines changed: 8 additions & 7 deletions
File tree
- src
- ModelContextProtocol.AspNetCore
- ModelContextProtocol.Core
- Protocol
- Server
- tests/ModelContextProtocol.AspNetCore.Tests
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| 696 | + | |
696 | 697 | | |
697 | 698 | | |
698 | 699 | | |
699 | | - | |
| 700 | + | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | 704 | | |
704 | 705 | | |
705 | | - | |
| 706 | + | |
706 | 707 | | |
707 | 708 | | |
708 | 709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments