jgauffin / Griffin.Framework

Application framework for Business Applications
http://griffinframework.net
168 stars 62 forks source link

Unsupported content type in HttpMessageDecoder #62

Closed PhonicUK closed 8 years ago

PhonicUK commented 8 years ago
Griffin.Net.Protocols.Http.BadRequestException: Unsupported content-type: text/plain                                  
   at Griffin.Net.Protocols.Http.HttpMessageDecoder.TriggerMessageReceived (Griffin.Net.Protocols.Http.HttpMessage message) in <filename unknown>:line 0                                                                                   
   at Griffin.Net.Protocols.Http.HttpMessageDecoder.ProcessReadBytes (ISocketBuffer buffer) in <filename unknown>:line 0                                                                                                                    
   at Griffin.Net.Channels.TcpChannel.OnReadCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e) in <filename unknown>:line 0      
jgauffin commented 8 years ago

corrected. Now allows text/plain even if it's not supported by the messadedecoder.