From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.kcar.general Subject: [ANN] kcar 0.1.1 - bytestream to Rack response converter Date: Sun, 25 Jul 2010 00:06:22 +0000 Message-ID: <20100725000622.GA21583@dcvr.yhbt.net> References: <20100725000622.GA21583@dcvr.yhbt.net> Reply-To: kcar@librelist.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280016406 15606 80.91.229.12 (25 Jul 2010 00:06:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 00:06:46 +0000 (UTC) To: kcar@librelist.com Original-X-From: kcar@librelist.com Sun Jul 25 02:06:45 2010 Return-path: Envelope-to: gclrkg-kcar@m.gmane.org In-Reply-To: <20100725000622.GA21583@dcvr.yhbt.net> List-Archive: List-Help: List-Id: kcar@librelist.com List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kcar@librelist.com Xref: news.gmane.org gmane.comp.lang.ruby.kcar.general:2 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocojt-0001Ex-6T for gclrkg-kcar@m.gmane.org; Sun, 25 Jul 2010 02:06:45 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id DC3CB21B430 for ; Sun, 25 Jul 2010 00:15:39 +0000 (UTC) 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.com * 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. -- Eric Wong