You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In node 0.10.x it runs, but results in an err saying the request failed.
In node 0.12.7 the method does not run, since it reaches this error before requesting:
_http_client.js:75
throw new Error('Protocol "' + protocol + '" not supported. ' +
^
Error: Protocol "https:" not supported. Expected "http:".
at new ClientRequest (_http_client.js:75:11)
at Object.exports.request (http.js:49:10)
at Object.exports.request (https.js:136:15)
at get (/projects/npmutils/gh-readme-scrape/node_modules/got/index.js:138:16)
at ClientRequest.<anonymous> (/projects/npmutils/gh-readme-scrape/node_modules/got/index.js:163:5)
at ClientRequest.g (events.js:199:16)
at ClientRequest.emit (events.js:129:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:426:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:111:23)
at Socket.socketOnData (_http_client.js:317:20)
I'm guessing it's because the link should actually be:
Take the following:
In node 0.10.x it runs, but results in an
err
saying the request failed.In node 0.12.7 the method does not run, since it reaches this error before requesting:
I'm guessing it's because the link should actually be:
https://github.com/mattdesl/graphics-resources/blob/master/LICENSE.md
Any ideas how to fix this? Ideally I'd like the
http://
request to follow to thehttps://
url.The text was updated successfully, but these errors were encountered: