add Kcar::Response#rack to give proper Rack responses
commit9d880bb373793f42c29cd77890663d62a1b9c578
authorEric Wong <normalperson@yhbt.net>
Wed, 28 Apr 2010 21:33:27 +0000 (28 14:33 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 28 Apr 2010 21:47:32 +0000 (28 14:47 -0700)
treef2e16ea7bc33a49619b69a247be3e7fb135c7f5c
parent2a3a8ac8e64f5f02f87de268c9b2615437d16a96
add Kcar::Response#rack to give proper Rack responses

We can't unchunk bodies and still say
"Transfer-Encoding: chunked", nor can we say we have Trailers
without chunked encoding.  So we'll unconditionally disable
unchunking and pass the response through as-is
lib/kcar/response.rb
test/test_response.rb