[Mongrel] mongrel parser for server response

Zed A. Shaw zedshaw at zedshaw.com
Tue Oct 31 20:49:55 EST 2006

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:


Including chunked encoding.

Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://safari.oreilly.com/0321483502 -- The Mongrel Book
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.

More information about the Mongrel-users mailing list