Describe the bug
I'm using the https://github.com/modelcontextprotocol/csharp-sdk for MCP integration and when sending the initial POST it adds the Content-Type as "application/json; charset=utf-8" and the server replies with 'Content-Type must be 'application/json' , while reduntant due to RFC 8259, it should just be stripped instead of enforced. This was working previously working.
Affected version
Remote version of Github MCP Server.
Steps to reproduce the behavior
Working:
Non-Working:
Expected vs actual behavior
Expected -> ability to initialize the McpClient
Actual -> throws exceptions
Describe the bug
I'm using the https://github.com/modelcontextprotocol/csharp-sdk for MCP integration and when sending the initial POST it adds the Content-Type as "application/json; charset=utf-8" and the server replies with
'Content-Type must be 'application/json', while reduntant due to RFC 8259, it should just be stripped instead of enforced. This was working previously working.Affected version
Remote version of Github MCP Server.
Steps to reproduce the behavior
Working:
Non-Working:
Expected vs actual behavior
Expected -> ability to initialize the McpClient
Actual -> throws exceptions