Sha256: 2d673d405a5dafa067ef7e78a3e7b27c436b5b4e41b3e69efe0a89b24e51df47

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

var http = require('http');

var https = module.exports;

for (var key in http) {
    if (http.hasOwnProperty(key)) https[key] = http[key];
};

https.request = function (params, cb) {
    if (!params) params = {};
    params.scheme = 'https';
    return http.request.call(this, params, cb);
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/browser-resolve/builtin/https.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/browser-resolve/builtin/https.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/browser-resolve/builtin/https.js
sprockets-browserify-0.1.2 node_modules/module-deps/node_modules/browser-resolve/builtin/https.js
sprockets-browserify-0.1.0 node_modules/module-deps/node_modules/browser-resolve/builtin/https.js