Http requests, response assertions for should.js
npm install should-http
This module can be usefull for asserting on node standard http modele request and response.
```
npm install should-http --save-dev
``
require('should-http');
That row patch your should instance adding assertions. With mocha you can use it via -r switch.
Asserts that .statusCode is code:`javascript`
res.should.have.status(200);
Asserts that a .headers object with field and optional value are present:`javascript`
res.should.have.header('content-length');
res.should.have.header('Content-Length', '123');
Assert that Content-Type is "application/json; charset=utf-8"
`javascript`
res.should.be.json
Assert that Content-Type is "text/html; charset=utf-8"
`javascript``
res.should.be.html