[Mongrel] mongrel parser for server response

snacktime snacktime at gmail.com
Tue Oct 31 23:51:29 EST 2006

On 10/31/06, Zed A. Shaw <zedshaw at zedshaw.com> wrote:
> On Tue, 31 Oct 2006 13:41:26 -0800
> snacktime <snacktime at gmail.com> wrote:
> > I'm taking a stab at creating a parser to parse the server response
> > using the mongrel parser as a base.  Never having used a parser like
> > Ragel before in my life, I'd like some input on the following for
> > parsing an http server response.  This is part of my modified version
> > of http11_parser.rl.  In particular what would be better than using
> > 'any' to match the status text?
> >
> Already did that.  It's in RFuzz:
> http://rfuzz.rubyforge.org/
> Including chunked encoding.

Ah very cool, saves me some work, although I was having fun learning
to use Ragel.

More information about the Mongrel-users mailing list