joyent/node — pull request #6387 by camswords (2013-10-21 09:10:24+00:00)
Title: http: parse the status message in a http response.

Add the ability to retrieve the status message (reason phrase) from a http response.

This change has a dependency on joyent/http-parser#152. The dependent change allows the http parser to parse the status message and make it available to node via a callback. This change causes node to listen for that callback and attach the result to the "statusMessage" property of the IncomingMessage object.

While the W3C names this property "reasonPhrase", "statusMessage" has been chosen to mirror the recent change that allows statusMessage to be written to a http response SHA: 54910044b33a6405c72ad085915a55c575c027fc.