nodeunit-httpclient
nodeunit-httpclient copied to clipboard
HTTP response testing for NodeUnit
Support for https/http
I can't seem to configure the client to be able to make requests to a server that requires HTTPS. Is that supported? If not, what might it take?
Please add support for the PATCH verb which should be equal to POST or PUT.
Some APIs use the `accept` header to negotiate the correct version to serve but it doesn't appear to be possible to set this during instantiation. Furthermore, nodeunit-httpclient assumes that if...
It would be good if one can test file uploads by simply specifying an object containing file paths to send as additional parts to the request. I would suggest using...
I haven't found anyway to save cookies and send them back in subsequent requests. I'd love to be able to do this.
In your README, you imply that you store json data automatically in res.json: //Test a response exports.test2 = function(test) { api.get(test, '/user', function(res) { //JSON responses are automatically parsed: test.equal(res.json,...