tmm1/http_parser.rb — pull request #42 by robertjpayne (2014-08-31 06:55:25+00:00)
Title: Add support for "status" reason and use latest stable http_parser

There’s a few things in this pull request:

* Updated to the latest stable Joyent http_parser version (2.3.1)
* Added support for the "status" reason since it's been added in later versions of Joyent’s http_parser
* Added some better safety checks around on_status and on_url
* Updated the specs to include the "status"
* Updated the specs to conform to Joyent’s latest updates. They changed how line folding and whitespace is handled to better conform to the RFC spec [See Here](https://github.com/joyent/http-parser/commit/5d9c3821729b194eef60f41fcc5f8b4657c3d8ff#diff-d41d8cd98f00b204e9800998ecf8427e)

All the specs pass