Allow more accept headers (#429)
This commit is contained in:
parent
849809771d
commit
d23f442a69
1 changed files with 42 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue