Files | Admin

Notes:

Release Name: 0.4.0

Notes:
kcar 0.4.0 - Kcar::Response improvement

kcar features an HTTP parser that will convert a bytestream into a
3-element array suitable for use as a Rack response.  It is IO interface
agnostic, so it may be used with HTTP streams over Unix domain sockets,
regular files, FIFOs, StringIOs as well as traditional TCP sockets.

* http://bogomips.org/kcar/
* kcar@librelist.org
* git://bogomips.org/kcar.git
* http://bogomips.org/kcar/NEWS.atom.xml

Changes:

* add Kcar::Parser#body_bytes_left= setter method

  This allows us to properly get body_eof? to return true
  in Kcar::Response for unchunked responses.



Changes: GIT-VERSION-GEN | 2 +- ext/kcar/kcar.rl | 19 +++++++++++++++++++ lib/kcar/response.rb | 1 + test/test_response.rb | 7 ++++++- 4 files changed, 27 insertions(+), 2 deletions(-) commit cba0da81fba19aab000858aaf98b1f5383be07c9 Author: Eric Wong Date: Fri Oct 26 09:48:34 2012 +0000 kcar 0.4.0 - Kcar::Response improvement * add Kcar::Parser#body_bytes_left= setter method This allows us to properly get body_eof? to return true in Kcar::Response for unchunked responses. commit 0f2c6224e58fdb129d2bfd320f3ccfe7131daa39 Author: Eric Wong Date: Fri Oct 26 09:46:21 2012 +0000 test_response: fix redefined method Oops :x commit b583fe84c3e2174f143d2412b0b93eeb18e5aeb8 Author: Eric Wong Date: Fri Oct 26 09:24:46 2012 +0000 add Kcar::Parser#body_bytes_left= setter method This allows us to properly get body_eof? to return true in Kcar::Response for unchunked responses.