netty5/codec-http/src
Norman Maurer c60263e8a3
Correctly handle responses with status 205 and payload. (#7891)
Motivation:

HTTP responses with status of 205 should not contain a payload. We should enforce this.

Modifications:

Correctly handle responses with status 205 and payload by set Content-Length: 0 header and stripping out the content.

Result:

Fixes https://github.com/netty/netty/issues/7888
2018-05-03 11:25:06 +02:00
..
main/java/io/netty/handler/codec Correctly handle responses with status 205 and payload. (#7891) 2018-05-03 11:25:06 +02:00
test Correctly handle responses with status 205 and payload. (#7891) 2018-05-03 11:25:06 +02:00