I’m using node.js now for almost 2 years for different things. But today was the first time, I wanted to get the ‘reasonPhrase’ or ‘statusMessage’ from a clientResponse created using http.request().
There isn’t a property I could access. At least there isn’t one defined in the docs.
Is there a way to get it?
Thanks very much!
It seems like this information is not available thorugh the http-parser that node.js uses.
I’ve now started a feature request on both node.js and http-parser to implement this.