Skip to content

Conversation

ajithhub
Copy link

As per the commit message:

Small change to do Https. Not sure when the secure flag was added, but
this wasn't working in node 0.2.5 or 0.2.6. Without the secure flag,
node will attempt to open the socket and perform the http get without
first performing an SSL handshake.

this wasn't working in node 0.2.5 or 0.2.6.  Without the secure flag,
node will attempts to open the socket and perform the http get without
first performing an SSL handshake.
@chriso
Copy link
Contributor

chriso commented Jan 24, 2011

Hey thanks, but I've purposely stayed away from HTTPS for the time being as the NodeJS API is constantly changing. The latest unstable release introduces a new dedicated https module require('https'); with the following usage. When the 0.3.x branch becomes stable I'll upgrade node.io to use http.request and https.request as per here and here.

@tessro
Copy link

tessro commented Mar 5, 2011

Now that 0.4.x is out, is there a chance we might get to see this soon? Some of the pages I am scraping do automatic HTTPS redirects. :-(

@chriso
Copy link
Contributor

chriso commented Mar 6, 2011

Done! npm install node.io to get the latest version (0.2.4)

@tessro
Copy link

tessro commented Mar 6, 2011

Wow, that was fast! Thanks!!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants