http-sync icon indicating copy to clipboard operation
http-sync copied to clipboard

A synchronous http(s) client for node.js

Results 8 http-sync issues
Sort by recently updated
recently updated
newest added

I tried installing from npm and got the following error: ``` $ npm i http-sync > [email protected] install /home/ola/workspace/js/new-import-script/node_modules/http-sync > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will...

Sending POST requests produces weird errors. My request looks like this: ``` javascript var url = format("/data/update?private_token={privateToken}", { privateToken: params.privateToken }) var req = httpSync.request({ method: "POST", host: config.remoteService.bind, port:...

"With Node.js 4.0.0 [Nan](https://github.com/nodejs/nan) took the chance to do some refactoring and also bumped its version from 1.x to 2.x, introducing breaking changes." ([source](http://apmblog.dynatrace.com/2015/09/05/all-you-need-to-know-about-node-js-4-0/)) Useful info for migration: https://github.com/nodejs/nan/issues/402 https://github.com/nodejs/nan/pull/371#issuecomment-125987422...

This fails on node-gyp rebuild: ``` $ node-gyp rebuild gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | darwin | x64...

Do you plan in future to support uploading binary data in `body` param?

Only the last value of a given multi-valued response header is saved. For example: ``` Set-Cookie: first cookie Set-Cookie: second cookie ``` only the `second cookie` will be assigned. This...

some non-standard body-length limiting feature to prevent OOM in case of massive responses.