netty5/codec-http
Stephane Landelle 9b34ec6784 Use predefined HttpResponseStatus constant instead of hardcoded 101 code
Motivation:

handshake status code.
But it uses a hardcoded status code value for 101 instead of using the
intended `HttpResponseStatus#SWITCHING_PROTOCOLS` constant.

Modidication:

Compare actual `HttpResponseStatus` against predefined constant. Note
that `HttpResponseStatus#equals` is implemented in respect with the RFC
(only honor code, not text) so it’s intended to be used this way.

Result:

Cleaner code, use intended constant instead of hard coded value.
2017-10-02 19:00:15 +02:00
..
src Use predefined HttpResponseStatus constant instead of hardcoded 101 code 2017-10-02 19:00:15 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-09-21 19:47:23 +00:00