kerryjiang / WebSocket4Net

A popular .NET WebSocket Client
Apache License 2.0
764 stars 273 forks source link

Update ProtocolProcessorBase.cs #93

Closed bwhiton closed 7 years ago

bwhiton commented 7 years ago

When validating the verbLine, do not require that the optional description parameter be present. The description is not required in the standard and some web servers (like the built in web server in grails) do not provide it.

kerryjiang commented 7 years ago

It seems you are right. The rfc says "The client is not required to examine or display the Reason- Phrase". https://tools.ietf.org/html/rfc2616#section-6.1

The statement is confusing, but anyway we should loose the limitation to be compatible with more servers.