From: Jeroen H. <vex...@gm...> - 2010-12-26 19:46:29
|
Hi, On 26 December 2010 15:57, Dean Michael Berris <mik...@gm...> wrote: > On Fri, Dec 24, 2010 at 9:39 PM, Jeroen Habraken <vex...@gm...> wrote: >> Just ran into https://github.com/ry/http-parser, which might be nice >> to integrate. >> > > Interesting. Thanks Jeroen, I'll take a look at this at some point. > It's just been crazy for me lately. > > Can you give me at least a high-level idea of what I should be looking at here? Sure, this is a RFC compliant HTTP parser, and there are a couple of things which might be of interest. First of all, it's a switch-case style parser, thus the case's they've chosen might be of interest. Secondly, and more importantly, it comes with quite a neat test set which might help you in your TDD approach. > -- > Dean Michael Berris > about.me/deanberris Jeroen |