From: Hiroshi Nakamura Date: 2011-12-13T10:35:16+09:00 Subject: [ruby-core:41621] [ruby-trunk - Bug #5737][Open] WEBrick doesn't support keep alive connections for 204 and 304 responses Issue #5737 has been updated by Hiroshi Nakamura. Status changed from Closed to Open Sorry for not responding. As a maintainer, I'll review the patch later. I don't understand now, the rationale why we should do keep-alive for 304/204 even if the response is neither chunked nor having content-length. Handling empty body would be needed instead? ---------------------------------------- Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses http://redmine.ruby-lang.org/issues/5737 Author: Aaron Patterson Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2011-12-07 trunk 33966) [x86_64-darwin11.2.0] WEBrick doesn't support keep alive connections for 204 and 304 responses. If a 204 or 304 response is made along with a keepalive, a warning is issued and webrick closes the connection. I've attached a patch that fixes the problem, and I will apply it if it's OK. :-) -- http://redmine.ruby-lang.org