clients
clients copied to clipboard
HttpClient, StringClient, and JsonClient extracted from restify
Copied from restify/node-restify#1637 Node version 6.12.3 Restify version 7.1.0 Hi, we are attempting to run our application with FIPS enabled Node, as per a requirement that we have. When using...
Moved from: https://github.com/restify/node-restify/issues/742 The HTTP spec allows for DELETE request bodies, and the restify server works with DELETE request bodies, but the restify clients' `del` method doesn't allow a payload...
MOVED FROM: https://github.com/restify/node-restify/issues/642 HttpClient.close() reaches into the Node agent and calls end() on all of the sockets in use by the agent. It doesn't check that the socket's remote address...
COPIED: https://github.com/restify/node-restify/issues/483 The restify client doesn't retry socket hang-up errors that happen before a response is received. Here's a test program: ``` javascript var mod_bunyan = require('bunyan'); var mod_fs =...
`sed -i 's/restify": "^4.3.0/restify": "^5.0.0/g' package.json && make prepush` ``` restify-client bunyan usage tests ✓ no logger (48ms) ✓ no serializers ✓ bunyan stdSerializers ✓ some unrelated bunyan serializer "foo"...
This is a cross-post from [my question on SO](http://stackoverflow.com/questions/43982642/socket-hangup-when-forcing-restify-client-to-retry-ad-infinitum). I suspect this is a configuration mistake on my end, and would appreciate any help understanding where that mistake lies. ---...
Allow setting of headers and timeouts on a per request basis.
From work on restify/node-restify#878 and #85. HTTP proxy support is in lib/HttpClient.js. Note that the request module does some whitelisting of req.headers for proxying. Restify-clients should look at doing the...
I ran into an issue recently where a client was stuck waiting on a host that had crashed and rebooted, but never ended the connection because there wasn't any TCP...
Hi there, I see the example that uses basic auth, but hoping for OAuth2.0 native support.