News for hackers. Stuff that matters.
Re:I've implemented a new HTTP/1.1 request and response pars... by pquerna on Tuesday December 01, 2009 @01:26AM (#969344)
I thought it was a pretty cool implementation (zero memory alloc is pretty hard most of the time), though I was disappointed how HTTP methods were hard coded in, so adding a new HTTP method (like PROPFIND?) would be adding a ton of code, though I think you could make a few macros for doing HTTP methods and keep the rest of it.
Re:I've implemented a new HTTP/1.1 request and response pars... by davisp on Tuesday December 01, 2009 @03:09PM (#970619)
Hacked together an on_method callback last night for the Python bindings I'm writing:

http://github.com/davisp/http-parser/commit/50e54f95fd4c2eac...