# Kcar 0.1.1 - bytestream to Rack response converter

**URL:** <https://www.ruby-forum.com/t/kcar-0-1-1-bytestream-to-rack-response-converter/192150>\
**Category:** Ruby\
**Created:** [July 25, 2010, 2:19am UTC](https://www.ruby-forum.com/t/kcar-0-1-1-bytestream-to-rack-response-converter/192150 "2010-07-25T02:19:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/97f17d/32.png) [@ericw](https://www.ruby-forum.com/u/ericw)\
**Post date:** [July 25, 2010, 2:19am UTC](https://www.ruby-forum.com/t/kcar-0-1-1-bytestream-to-rack-response-converter/192150/1 "2010-07-25T02:19:35Z")

</div>

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.

- [kcar - bytestream to Rack response converter](http://bogomips.org/kcar/)
- removed\_email\_address@domain.invalid
- git://git.bogomips.org/kcar.git

Changes:

Our handling of pipelined identity (not chunked) responses  
did not properly reset our internal buffer, causing HTTP  
header parsing to fail for the second response as the buffer  
still contained the last part of the body from the previous  
response.

There are also minor documentation updates and cleanups.
