Files | Admin

Notes:

Release Name: 0.3.0

Notes:
kcar 0.3.0

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

Changes:

* strip trailing and leading linear whitespace in headers
* improve Ruby 1.9.3dev compatibility



Changes: GIT-VERSION-GEN | 2 +- README | 2 +- TODO | 2 +- ext/kcar/kcar.rl | 34 +++++++++++++++++++++++++++++----- ext/kcar/kcar_http_common.rl | 2 +- lib/kcar/response.rb | 2 +- pkg.mk | 6 +++++- test/test_parser.rb | 35 +++++++++++++++++++++++++++++++++++ 8 files changed, 74 insertions(+), 11 deletions(-) commit 051bbf04a932833e0a5f2857005885ac163a353e Author: Eric Wong Date: Tue Jun 7 10:28:52 2011 -0700 kcar 0.3.0 * strip trailing and leading linear whitespace in headers * improve Ruby 1.9.3dev compatibility commit e7e9ad74caa88a49f09c242d65627246be54dc86 Author: Eric Wong Date: Mon May 23 17:22:52 2011 -0700 README: use librelist.org address Librelist is a non-profit service and .org makes that clearer. commit d6ff34a9673b78545c6311c8ea59e5ad5ddd7a1f Author: Eric Wong Date: Mon May 23 17:12:48 2011 -0700 call rb_str_modify before rb_str_resize This is required since Ruby 1.9.3dev if the size of the string doesn't change. commit c73e5023a056e28543869722203d9f62d75e3949 Author: Eric Wong Date: Mon May 23 17:11:29 2011 -0700 strip trailing and leading linear whitespace in headers RFC 2616, section 4.2: > The field-content does not include any leading or trailing LWS: > linear white space occurring before the first non-whitespace > character of the field-value or after the last non-whitespace > character of the field-value. Such leading or trailing LWS MAY be > removed without changing the semantics of the field value. Any LWS > that occurs between field-content MAY be replaced with a single SP > before interpreting the field value or forwarding the message > downstream. commit 71bb4732573c45b91b88922df3e13160af6f65c6 Author: Eric Wong Date: Mon May 23 14:22:51 2011 -0700 pkg.mk: update for locale-independent grep commit 2bedfbb15638564432521ebe81c48ce8fded2c3d Author: Eric Wong Date: Thu Mar 17 21:19:54 2011 +0000 pkg.mk: new task for checking Ruby warnings commit fd12391c2858bb847031de85ce16ff35b0b48c64 Author: Eric Wong Date: Thu Mar 17 14:10:13 2011 -0700 response: assume $, is default Nobody sets it, so discourage new users from setting it since it's stupid :P.