{"_id":"http-basic","_rev":"64229","name":"http-basic","description":"Very low level wrapper arround http.request/https.request","dist-tags":{"latest":"8.1.3"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"time":{"modified":"2021-06-03T10:21:40.000Z","created":"2014-08-01T14:32:31.936Z","8.1.3":"2019-04-12T11:37:13.673Z","8.1.2":"2019-04-12T11:30:08.164Z","8.1.1":"2019-03-20T05:59:47.392Z","8.1.0":"2019-02-12T16:24:49.296Z","8.0.1":"2018-05-13T14:16:21.573Z","8.0.0":"2018-05-13T14:13:45.927Z","7.0.0":"2018-03-05T17:01:29.236Z","6.0.0":"2018-01-31T10:54:10.848Z","5.0.3":"2017-06-16T17:46:04.746Z","5.0.2":"2017-06-16T17:02:40.926Z","5.0.1":"2017-06-16T12:05:03.813Z","5.0.0":"2017-06-16T11:51:15.246Z","4.0.1":"2017-02-08T17:26:28.966Z","4.0.0":"2017-02-08T17:21:26.719Z","3.0.1":"2017-02-06T14:49:05.366Z","3.0.0":"2016-12-20T16:42:21.343Z","2.5.1":"2016-03-02T18:37:24.591Z","2.5.0":"2016-03-02T18:34:32.943Z","2.4.0":"2016-01-19T15:15:46.802Z","2.3.4":"2015-02-12T10:42:58.764Z","2.3.3":"2015-02-12T10:28:39.690Z","2.3.2":"2015-02-11T15:34:44.627Z","2.3.1":"2015-02-11T14:56:10.085Z","2.3.0":"2015-01-26T13:33:07.550Z","2.2.0":"2015-01-22T15:21:00.674Z","2.1.0":"2015-01-15T06:37:15.445Z","2.0.1":"2015-01-14T23:41:02.849Z","2.0.0":"2015-01-14T23:38:02.488Z","1.1.1":"2014-12-18T11:39:22.986Z","1.1.0":"2014-12-04T15:06:34.319Z","1.0.4":"2014-12-02T15:58:29.765Z","1.0.3":"2014-08-07T11:51:34.863Z","1.0.2":"2014-08-01T15:17:44.688Z","1.0.1":"2014-08-01T15:16:46.644Z","1.0.0":"2014-08-01T15:04:01.421Z","0.0.1":"2014-08-01T14:32:31.936Z"},"users":{"rochejul":true},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"versions":{"8.1.3":{"name":"http-basic","version":"8.1.3","main":"lib/index.js","types":"lib/index.d.ts","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"^0.12.0","concat-stream":"^1.6.2","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^11.9.0","flowgen2":"^2.2.1","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"631e1a3d2c34ad1ce90a3424ef2eff2c9b503179","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@8.1.3","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"shasum":"a7cabee7526869b9b710136970805b1004261bbf","size":11159,"noattachment":false,"key":"/http-basic/-/http-basic-8.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-8.1.3.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_8.1.3_1555069033566_0.9382033278854214"},"_hasShrinkwrap":false,"publish_time":1555069033673,"_cnpm_publish_time":1555069033673},"8.1.2":{"name":"http-basic","version":"8.1.2","main":"lib/index.js","types":"lib/index.d.ts","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"^0.12.0","concat-stream":"^1.6.2","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^11.9.0","flowgen2":"^2.2.1","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"dde4d50140e43ea8ca53fd94a9dd59611b700b59","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@8.1.2","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"shasum":"010a89e1354503e5c42cd3d5e4c9a608ead92a49","size":11156,"noattachment":false,"key":"/http-basic/-/http-basic-8.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-8.1.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_8.1.2_1555068608025_0.8985761263465739"},"_hasShrinkwrap":false,"publish_time":1555068608164,"_cnpm_publish_time":1555068608164},"8.1.1":{"name":"http-basic","version":"8.1.1","main":"lib/index.js","types":"lib/index.d.ts","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"^0.12.0","concat-stream":"^1.6.2","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^11.9.0","flowgen2":"^2.2.1","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"6267f15717397006fd9541553b191b6193e526f1","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@8.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"091631723f68d63924fd5029f936fb465df9a2b5","size":10716,"noattachment":false,"key":"/http-basic/-/http-basic-8.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-8.1.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_8.1.1_1553061587225_0.6210744766175782"},"_hasShrinkwrap":false,"publish_time":1553061587392,"_cnpm_publish_time":1553061587392},"8.1.0":{"name":"http-basic","version":"8.1.0","main":"lib/index.js","types":"lib/index.d.ts","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"^0.12.0","concat-stream":"^1.6.2","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^11.9.0","flowgen2":"^2.0.0-alpha.9","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"6f0e20d63a1bf50f5725eaf92a4201ab49a2d6f5","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@8.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"24fe29f0bbb07024858eec63aa195a5a7d47054d","size":10710,"noattachment":false,"key":"/http-basic/-/http-basic-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-8.1.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_8.1.0_1549988689152_0.06654205606959307"},"_hasShrinkwrap":false,"publish_time":1549988689296,"_cnpm_publish_time":1549988689296},"8.0.1":{"name":"http-basic","version":"8.0.1","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"*","caseless":"^0.12.0","concat-stream":"^1.6.2","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.9","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"e60379c214254e80e595d766a8b7b1d9dde6cce5","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@8.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"4b65efc1b66a755d4e7c71ae9d7f0968f5a4b99f","size":10621,"noattachment":false,"key":"/http-basic/-/http-basic-8.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-8.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_8.0.1_1526220981466_0.7059612812663234"},"_hasShrinkwrap":false,"publish_time":1526220981573,"_cnpm_publish_time":1526220981573},"8.0.0":{"name":"http-basic","version":"8.0.0","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"*","caseless":"^0.12.0","concat-stream":"^1.4.6","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.9","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"cae6247e90fea25e79e3fd1cc84d7aafd8b7a9c5","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@8.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"b3404f134bce2a115059f38cdf4200ae28df72a7","size":10624,"noattachment":false,"key":"/http-basic/-/http-basic-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-8.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_8.0.0_1526220825811_0.8802859202822593"},"_hasShrinkwrap":false,"publish_time":1526220825927,"_cnpm_publish_time":1526220825927},"7.0.0":{"name":"http-basic","version":"7.0.0","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^9.4.1","caseless":"~0.12.0","concat-stream":"^1.4.6","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.9","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"c218428f48aa97692d7e81ac60408d09862e39f1","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@7.0.0","_shasum":"82f0a506be942732ec8deebee80e746ef5736dba","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.7","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"82f0a506be942732ec8deebee80e746ef5736dba","size":12585,"noattachment":false,"key":"/http-basic/-/http-basic-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-7.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic_7.0.0_1520269289128_0.012247546064483084"},"_hasShrinkwrap":false,"publish_time":1520269289236,"_cnpm_publish_time":1520269289236},"6.0.0":{"name":"http-basic","version":"6.0.0","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^7.0.31","caseless":"~0.12.0","concat-stream":"^1.4.6","http-response-object":"^3.0.1","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.9","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"e58c3ed739b1a6c48a2fde99b191121b41c128f2","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@6.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"1d63df8f891e1e25e0c2c84d7a2d94702d6ae229","size":10595,"noattachment":false,"key":"/http-basic/-/http-basic-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-6.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic-6.0.0.tgz_1517396049937_0.9710879006888717"},"directories":{},"publish_time":1517396050848,"_hasShrinkwrap":false,"_cnpm_publish_time":1517396050848},"5.0.3":{"name":"http-basic","version":"5.0.3","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^7.0.31","caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^2.0.3","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.9","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"dc7e82cde3cdb36471489ba7eec5b70c4525a867","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@5.0.3","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"b7a0008f6cac7ef404b807cdd599dfd939802418","size":10311,"noattachment":false,"key":"/http-basic/-/http-basic-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-5.0.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic-5.0.3.tgz_1497635163792_0.30114359385333955"},"directories":{},"publish_time":1497635164746,"_hasShrinkwrap":false,"_cnpm_publish_time":1497635164746},"5.0.2":{"name":"http-basic","version":"5.0.2","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^7.0.31","caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^2.0.3","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.8","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"829b445ae2daea3795cc195c33254048122f1abf","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@5.0.2","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"2c98c2d9091b190157f0c181ffb36b5980af18c2","size":10253,"noattachment":false,"key":"/http-basic/-/http-basic-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-5.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic-5.0.2.tgz_1497632559922_0.4431380210444331"},"directories":{},"publish_time":1497632560926,"_cnpm_publish_time":1497632560926,"_hasShrinkwrap":false},"5.0.1":{"name":"http-basic","version":"5.0.1","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^7.0.31","caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^2.0.3","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.8","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"66e846080b0335a2b875cf2c14255bda27a8152f","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@5.0.1","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"902051bfaf4142a7938cedba6166aac3eb0c6af1","size":10236,"noattachment":false,"key":"/http-basic/-/http-basic-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-5.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic-5.0.1.tgz_1497614702904_0.7796736587770283"},"directories":{},"publish_time":1497614703813,"_cnpm_publish_time":1497614703813,"_hasShrinkwrap":false},"5.0.0":{"name":"http-basic","version":"5.0.0","main":"lib/index.js","types":"lib/index.d.ts","files":["lib"],"description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^7.0.31","caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^2.0.3","parse-cache-control":"^1.0.1"},"devDependencies":{"flowgen2":"^2.0.0-alpha.7","rimraf":"^2.5.4","serve-static":"^1.11.1","typescript":"^2.3.4"},"scripts":{"prepublishOnly":"npm run build","build":"tsc && flowgen lib/**/*","pretest":"npm run build","test":"node test/index && node test/cache && node test/cache-invalidation && rimraf lib/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"64d766afa414f5f19e68ffce37d4f7aefc6f5e12","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@5.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"ac23056afd17a4d1bfce99cd2dedfece7bf3a193","size":10233,"noattachment":false,"key":"/http-basic/-/http-basic-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-5.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-basic-5.0.0.tgz_1497613874247_0.5171951509546489"},"directories":{},"publish_time":1497613875246,"_cnpm_publish_time":1497613875246,"_hasShrinkwrap":false},"4.0.1":{"name":"http-basic","version":"4.0.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0","parse-cache-control":"^1.0.1"},"devDependencies":{"rimraf":"^2.5.4","serve-static":"^1.11.1"},"scripts":{"test":"node test/index && node test/cache && node test/cache-invalidation"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"273f290395c38834fb0e95b8ccb027de7f8d69b0","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@4.0.1","_shasum":"54583300e1f929c31f16a5eba0e678b989e8e3d5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"54583300e1f929c31f16a5eba0e678b989e8e3d5","size":11216,"noattachment":false,"key":"/http-basic/-/http-basic-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-4.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-basic-4.0.1.tgz_1486574786940_0.6080027110874653"},"directories":{},"publish_time":1486574788966,"_cnpm_publish_time":1486574788966,"_hasShrinkwrap":false},"4.0.0":{"name":"http-basic","version":"4.0.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0","parse-cache-control":"^1.0.1"},"devDependencies":{"rimraf":"^2.5.4","serve-static":"^1.11.1"},"scripts":{"test":"node test/index && node test/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"028a604c50c90b5df76a84313de5c97626fbded2","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@4.0.0","_shasum":"4b430913d2c79bc192d54d9bb19f9198cf6dd800","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"4b430913d2c79bc192d54d9bb19f9198cf6dd800","size":9690,"noattachment":false,"key":"/http-basic/-/http-basic-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-4.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-basic-4.0.0.tgz_1486574484752_0.04758136626332998"},"directories":{},"publish_time":1486574486719,"_cnpm_publish_time":1486574486719,"deprecated":"Accidentally published without changes in 4.0.1","_hasShrinkwrap":false},"3.0.1":{"name":"http-basic","version":"3.0.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0","parse-cache-control":"^1.0.1"},"devDependencies":{"rimraf":"^2.5.4","serve-static":"^1.11.1"},"scripts":{"test":"node test/index && node test/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"9df385c7b887563c4866d009dfa15e35f5ad3ad2","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@3.0.1","_shasum":"14dd3690a4707ae044aa15d657fac17ea893ba25","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"14dd3690a4707ae044aa15d657fac17ea893ba25","size":9708,"noattachment":false,"key":"/http-basic/-/http-basic-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-3.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/http-basic-3.0.1.tgz_1486392544657_0.19593725679442286"},"directories":{},"publish_time":1486392545366,"_cnpm_publish_time":1486392545366,"_hasShrinkwrap":false},"3.0.0":{"name":"http-basic","version":"3.0.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0"},"devDependencies":{"rimraf":"^2.5.4","serve-static":"^1.11.1"},"scripts":{"test":"node test/index && node test/cache"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"de37994bd6d4a383ed4a7e890c5d1bf322d21f90","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","_id":"http-basic@3.0.0","_shasum":"84aea1ed6332f43ab0d5866d47d4fe2d18df4a49","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"84aea1ed6332f43ab0d5866d47d4fe2d18df4a49","size":8575,"noattachment":false,"key":"/http-basic/-/http-basic-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-3.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-basic-3.0.0.tgz_1482252139601_0.45575828081928194"},"directories":{},"publish_time":1482252141343,"_cnpm_publish_time":1482252141343,"_hasShrinkwrap":false},"2.5.1":{"name":"http-basic","version":"2.5.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.11.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"8b78b7895aca9ae97f312ad118ac632f7878c8fb","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.5.1","_shasum":"8ce447bdb5b6c577f8a63e3fa78056ec4bb4dbfb","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"8ce447bdb5b6c577f8a63e3fa78056ec4bb4dbfb","size":7996,"noattachment":false,"key":"/http-basic/-/http-basic-2.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.5.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-basic-2.5.1.tgz_1456943842031_0.5681158360093832"},"directories":{},"publish_time":1456943844591,"_cnpm_publish_time":1456943844591,"_hasShrinkwrap":false},"2.5.0":{"name":"http-basic","version":"2.5.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.9.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"dcb3af8d42dc5f50f4f652f30cedc9805f3bd006","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.5.0","_shasum":"8214476fd8cd654ee326b02a0325a9175dd3f305","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"8214476fd8cd654ee326b02a0325a9175dd3f305","size":7967,"noattachment":false,"key":"/http-basic/-/http-basic-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.5.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-basic-2.5.0.tgz_1456943670138_0.9182519319001585"},"directories":{},"publish_time":1456943672943,"_cnpm_publish_time":1456943672943,"_hasShrinkwrap":false},"2.4.0":{"name":"http-basic","version":"2.4.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.9.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"3cbdf04c1b1aeebacf359412eda8a41c50feedf5","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.4.0","_shasum":"27265369a63cfdfc74183650cc28919423940d4e","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"27265369a63cfdfc74183650cc28919423940d4e","size":7962,"noattachment":false,"key":"/http-basic/-/http-basic-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.4.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1453216546802,"_cnpm_publish_time":1453216546802,"_hasShrinkwrap":false},"2.3.4":{"name":"http-basic","version":"2.3.4","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"caseless":"~0.9.0","concat-stream":"^1.4.6","http-response-object":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"2333a7024ecc28bbff01240144bb04078037fa21","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.3.4","_shasum":"e24088665002fa5fbc7dc938cf4f5d7aeee66742","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"e24088665002fa5fbc7dc938cf4f5d7aeee66742","size":6601,"noattachment":false,"key":"/http-basic/-/http-basic-2.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.3.4.tgz"},"directories":{},"publish_time":1423737778764,"_cnpm_publish_time":1423737778764,"_hasShrinkwrap":false},"2.3.3":{"name":"http-basic","version":"2.3.3","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"6ac93224fe827572fdbfd793fa51bcdc92e64585","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.3.3","_shasum":"cb96faa84eb720641547db25bc4cf8b63f618cb6","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"cb96faa84eb720641547db25bc4cf8b63f618cb6","size":6554,"noattachment":false,"key":"/http-basic/-/http-basic-2.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.3.3.tgz"},"directories":{},"publish_time":1423736919690,"_cnpm_publish_time":1423736919690,"_hasShrinkwrap":false},"2.3.2":{"name":"http-basic","version":"2.3.2","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"6a9e3b4af91a2d859f014ebe9a094dde5f633312","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.3.2","_shasum":"73c018a2c01510510d08aa78c3d0882bc1a54f27","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"73c018a2c01510510d08aa78c3d0882bc1a54f27","size":6632,"noattachment":false,"key":"/http-basic/-/http-basic-2.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.3.2.tgz"},"directories":{},"publish_time":1423668884627,"_cnpm_publish_time":1423668884627,"_hasShrinkwrap":false},"2.3.1":{"name":"http-basic","version":"2.3.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"5d099dc1237e9d3628f93a409ea72ede44a73457","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.3.1","_shasum":"6abe93b58cf930eaba3d30f50ce0098bca4f7932","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"6abe93b58cf930eaba3d30f50ce0098bca4f7932","size":6460,"noattachment":false,"key":"/http-basic/-/http-basic-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.3.1.tgz"},"directories":{},"publish_time":1423666570085,"_cnpm_publish_time":1423666570085,"_hasShrinkwrap":false},"2.3.0":{"name":"http-basic","version":"2.3.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"35e5e04a4442adace9dd3480371e821c27f46ffd","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.3.0","_shasum":"140c3ea79501f868c8b5f81ff6949346bff06f1b","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"140c3ea79501f868c8b5f81ff6949346bff06f1b","size":6454,"noattachment":false,"key":"/http-basic/-/http-basic-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.3.0.tgz"},"directories":{},"publish_time":1422279187550,"_cnpm_publish_time":1422279187550,"_hasShrinkwrap":false},"2.2.0":{"name":"http-basic","version":"2.2.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"9036299b530b1cc33a814cb34eb2f85bde84af81","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.2.0","_shasum":"15acc69da657f8a36c45b37e6591fd8c143e10c1","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"15acc69da657f8a36c45b37e6591fd8c143e10c1","size":6199,"noattachment":false,"key":"/http-basic/-/http-basic-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.2.0.tgz"},"directories":{},"publish_time":1421940060674,"_cnpm_publish_time":1421940060674,"_hasShrinkwrap":false},"2.1.0":{"name":"http-basic","version":"2.1.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"7d099a66f584101b4a6225024f082151c7e71ac9","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.1.0","_shasum":"7067037c3ec4713cdfb9d4886aaafe2ea2cb525e","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"7067037c3ec4713cdfb9d4886aaafe2ea2cb525e","size":5672,"noattachment":false,"key":"/http-basic/-/http-basic-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.1.0.tgz"},"directories":{},"publish_time":1421303835445,"_cnpm_publish_time":1421303835445,"_hasShrinkwrap":false},"2.0.1":{"name":"http-basic","version":"2.0.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"0195f457465f434d16e3af82606f913f039b42fd","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.0.1","_shasum":"5fffa66528b56c5eacb324543541cb28fd6a9e2d","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"5fffa66528b56c5eacb324543541cb28fd6a9e2d","size":5624,"noattachment":false,"key":"/http-basic/-/http-basic-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.0.1.tgz"},"directories":{},"publish_time":1421278862849,"_cnpm_publish_time":1421278862849,"_hasShrinkwrap":false},"2.0.0":{"name":"http-basic","version":"2.0.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"bb5de957b542c5957da93073db1e81bc37c11a45","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@2.0.0","_shasum":"de3046d9db32edfdaa87101bf45e50c1768b7acd","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"de3046d9db32edfdaa87101bf45e50c1768b7acd","size":5419,"noattachment":false,"key":"/http-basic/-/http-basic-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-2.0.0.tgz"},"deprecated":"Published in error, use 2.0.1","directories":{},"publish_time":1421278682488,"_cnpm_publish_time":1421278682488,"_hasShrinkwrap":false},"1.1.1":{"name":"http-basic","version":"1.1.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"cf239fd46eea45df30afcf6d72dd5c964817d035","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.1.1","_shasum":"caf71e9f7d54eebee550eec9b6351d0c68a9b886","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"caf71e9f7d54eebee550eec9b6351d0c68a9b886","size":5636,"noattachment":false,"key":"/http-basic/-/http-basic-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.1.1.tgz"},"directories":{},"publish_time":1418902762986,"_cnpm_publish_time":1418902762986,"_hasShrinkwrap":false},"1.1.0":{"name":"http-basic","version":"1.1.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"3a0aef50b32f9b63edd2f77675dfd6b801f06f38","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.1.0","_shasum":"bbacaed0083f46c36e4b2dedeb931a6d0e50b497","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"bbacaed0083f46c36e4b2dedeb931a6d0e50b497","size":5614,"noattachment":false,"key":"/http-basic/-/http-basic-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.1.0.tgz"},"directories":{},"publish_time":1417705594319,"_cnpm_publish_time":1417705594319,"_hasShrinkwrap":false},"1.0.4":{"name":"http-basic","version":"1.0.4","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"8186f318d3d95082af069f58395611c08e74e08c","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.0.4","_shasum":"0170d831c87f49da694440893f430a709b8ff9d0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"0170d831c87f49da694440893f430a709b8ff9d0","size":5485,"noattachment":false,"key":"/http-basic/-/http-basic-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.0.4.tgz"},"directories":{},"publish_time":1417535909765,"_cnpm_publish_time":1417535909765,"_hasShrinkwrap":false},"1.0.3":{"name":"http-basic","version":"1.0.3","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"71cc8ffefa34e48a5df955f0e834b8855d412678","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.0.3","_shasum":"1ed531ff14b3a54a2b5409c0d2f555f68f76dc57","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"1ed531ff14b3a54a2b5409c0d2f555f68f76dc57","size":5348,"noattachment":false,"key":"/http-basic/-/http-basic-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.0.3.tgz"},"directories":{},"publish_time":1407412294863,"_cnpm_publish_time":1407412294863,"_hasShrinkwrap":false},"1.0.2":{"name":"http-basic","version":"1.0.2","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch","gzip","deflate","redirect","cache","etag","cache-control"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.0.2","dist":{"shasum":"aed7c83ff504510bd2d25bfa73f58fbc82653c46","size":5327,"noattachment":false,"key":"/http-basic/-/http-basic-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1406906264688,"_cnpm_publish_time":1406906264688,"_hasShrinkwrap":false},"1.0.1":{"name":"http-basic","version":"1.0.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.0.1","dist":{"shasum":"4a87358c2ee956d86160bdd11b3fb80ae6a64e6a","size":5301,"noattachment":false,"key":"/http-basic/-/http-basic-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1406906206644,"_cnpm_publish_time":1406906206644,"_hasShrinkwrap":false},"1.0.0":{"name":"http-basic","version":"1.0.0","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@1.0.0","dist":{"shasum":"7a8a9df14ceeede88e62e73053df089c5be67edf","size":5275,"noattachment":false,"key":"/http-basic/-/http-basic-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1406905441421,"_cnpm_publish_time":1406905441421,"_hasShrinkwrap":false},"0.0.1":{"name":"http-basic","version":"0.0.1","description":"Very low level wrapper arround http.request/https.request","keywords":["http","https","request","fetch"],"dependencies":{"http-response-object":"^1.0.0","concat-stream":"^1.4.6"},"devDependencies":{},"scripts":{"test":"node test"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/http-basic.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"homepage":"https://github.com/ForbesLindesay/http-basic","_id":"http-basic@0.0.1","dist":{"shasum":"de5788589baa16c03fe93a45ac3d325ab9bf3d50","size":4992,"noattachment":false,"key":"/http-basic/-/http-basic-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/http-basic/download/http-basic-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1406903551936,"_cnpm_publish_time":1406903551936,"_hasShrinkwrap":false}},"readme":"# http-basic\n\nSimple wrapper arround http.request/https.request\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/http-basic/master.svg)](https://travis-ci.org/ForbesLindesay/http-basic)\n[![Dependency Status](https://img.shields.io/david/ForbesLindesay/http-basic.svg)](https://david-dm.org/ForbesLindesay/http-basic)\n[![NPM version](https://img.shields.io/npm/v/http-basic.svg)](https://www.npmjs.org/package/http-basic)\n\n## Installation\n\n    npm install http-basic\n\n## Usage\n\n```js\nvar request = require('http-basic');\n\nvar options = {followRedirects: true, gzip: true, cache: 'memory'};\n\nvar req = request('GET', 'http://example.com', options, function (err, res) {\n  if (err) throw err;\n  console.dir(res.statusCode);\n  res.body.resume();\n});\nreq.end();\n```\n\n**method:**\n\nThe http method (e.g. `GET`, `POST`, `PUT`, `DELETE` etc.)\n\n**url:**\n\nThe url as a string (e.g. `http://example.com`).  It must be fully qualified and either http or https.\n\n**options:**\n\n - `headers` - (default `{}`) http headers\n - `agent` - (default: `false`) controlls keep-alive (see http://nodejs.org/api/http.html#http_http_request_options_callback)\n - `duplex` - (default: `true` except for `GET`, `OPTIONS` and `HEAD` requests) allows you to explicitly set a body on a request that uses a method that normally would not have a body\n - `followRedirects` - (default: `false`) - if true, redirects are followed (note that this only affects the result in the callback)\n - `maxRedirects` - (default: `Infinity`) - limit the number of redirects allowed.\n - `allowRedirectHeaders` (default: `null`) - an array of headers allowed for redirects (none if `null`).\n - `gzip` (default: `false`) - automatically accept gzip and deflate encodings.  This is kept completely transparent to the user.\n - `cache` - (default: `null`) - `'memory'` or `'file'` to use the default built in caches or you can pass your own cache implementation.\n - `timeout` (default: `false`) - times out if no response is returned within the given number of milliseconds.\n - `socketTimeout` (default: `false`) - calls `req.setTimeout` internally which causes the request to timeout if no new data is seen for the given number of milliseconds.\n - `retry` (default: `false`) - retry GET requests.  Set this to `true` to retry when the request errors or returns a status code greater than or equal to 400 (can also be a function that takes `(err, req, attemptNo) => shouldRetry`)\n - `retryDelay` (default: `200`) - the delay between retries (can also be set to a function that takes `(err, res, attemptNo) => delay`)\n - `maxRetries` (default: `5`) - the number of times to retry before giving up.\n - `ignoreFailedInvalidation` (default: `false`) - whether the cache should swallow errors if there is a problem removing a cached response. Note that enabling this setting may result in incorrect, cached data being returned to the user.\n - `isMatch` - `(requestHeaders: Headers, cachedResponse: CachedResponse, defaultValue: boolean) => boolean` - override the default behaviour for testing whether a cached response matches a request.\n - `isExpired` - `(cachedResponse: CachedResponse, defaultValue: boolean) => boolean` - override the default behaviour for testing whether a cached response has expired\n - `canCache` - `(res: Response<NodeJS.ReadableStream>, defaultValue: boolean) => boolean` - override the default behaviour for testing whether a response can be cached\n\n**callback:**\n\nThe callback is called with `err` as the first argument and `res` as the second argument. `res` is an [http-response-object](https://github.com/ForbesLindesay/http-response-object).  It has the following properties:\n\n - `statusCode` - a number representing the HTTP Status Code\n - `headers` - an object representing the HTTP headers\n - `body` - a readable stream respresenting the request body.\n - `url` - the URL that was requested (in the case of redirects, this is the final url that was requested)\n\n**returns:**\n\nIf the method is `GET`, `DELETE` or `HEAD`, it returns `undefined`.\n\nOtherwise, it returns a writable stream for the body of the request.\n\n## Implementing a Cache\n\nA `Cache` is an object with three methods:\n\n - `getResponse(url, callback)` - retrieve a cached response object\n - `setResponse(url, response)` - cache a response object\n - `invalidateResponse(url, callback)` - remove a response which is no longer valid\n\nA cached response object is an object with the following properties:\n\n - `statusCode` - Number\n - `headers` - Object (key value pairs of strings)\n - `body` - Stream (a stream of binary data)\n - `requestHeaders` - Object (key value pairs of strings)\n - `requestTimestamp` - Number\n\n`getResponse` should call the callback with an optional error and either `null` or a cached response object, depending on whether the url can be found in the cache.  Only `GET`s are cached.\n\n`setResponse` should just swallow any errors it has (or resport them using `console.warn`).\n\n`invalidateResponse` should call the callback with an optional error if it is unable to invalidate a response.\n\nA cache may also define any of the methods from `lib/cache-utils.js` to override behaviour for what gets cached.  It is currently still only possible to cache \"get\" requests, although this could be changed.\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/ForbesLindesay/http-basic#readme","bugs":{"url":"https://github.com/ForbesLindesay/http-basic/issues"},"license":"MIT"}