playframework/playframework — pull request #2131 by baloo (2013-12-05 18:38:41+00:00)
Title: Http1.0 Compliance

This PR fix some of mismatch between rfc1945 and play implementation.

Among changes:
* Play should not reply with a body if status is 1xx, 204 or 304 (section 7.2)
* All other status should have either Content-Length or Connection: Close
* If no reply body is provided, Content-Length should be 0

This also makes the chunked reply with http1.0 remove chunking and fallback to regular streaming of it (see #2127)