Allow more accept headers (#429)

This commit is contained in:
Stephen Halter 2025-05-19 17:31:20 -07:00 • committed by GitHub
commit d23f442a69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ internal sealed partial class StreamableHttpClientSessionTransport : TransportBa
using var content = new StringContent(
JsonSerializer.Serialize(message, McpJsonUtilities.JsonContext.Default.JsonRpcMessage),
Encoding.UTF8,
"application/json"
"application/json; charset=utf-8"
);
#endif