|
headers.Add("content-type", "application/json;charset=UTF-8"); |
On this line, setting the headers for content-type and content-length automatically can cause issues, such as my specific use case. The server I'm connecting to does not allow the content-type (and I realize they SHOULD). If this was able to be overridden somehow that would be great. At the moment I'm working around it by using the overloaded method that allows a string.
Netina.Stomp.Client/source/StompClient.cs
Line 108 in 6fb6c3c
On this line, setting the headers for content-type and content-length automatically can cause issues, such as my specific use case. The server I'm connecting to does not allow the content-type (and I realize they SHOULD). If this was able to be overridden somehow that would be great. At the moment I'm working around it by using the overloaded method that allows a string.