I'm not sure if this is the usual output. I can't recall seeing this in the past - the httpCRq object is dumped.
httpCRq
Perhaps related to @opichals socket changes?
make clean && RELEASE=1 make ./espurino
var http = require("http"); http.get("https://www.google.com", function(res) { res.on('data', function(data) { console.log(data); }); });
=httpCRq { "type": 5, "#onconnect": function (res) { ... }, "res": httpCRs { }, "opt": { "protocol": "https:", "method": "GET", "host": "http://www.google.com", "path": "/", "pathname": "/", "search": null, "port": null, "query": null }, "dSnd": "GET / HTTP/1.1\r\nU" ... "ww.google.com\r\n\r\n", "sckt": 4 } <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>302 Moved</TITLE></HEAD><BO DY> <H1>302 Moved</H1> The document has moved <A HREF="https://www.google.co.nz/?gfe_rd=cr&dcr=0&ei=aTgyWs_3F4rr8we175iYAQ">here</A>. </BODY></HTML>
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm not sure if this is the usual output. I can't recall seeing this in the past - the
httpCRq
object is dumped.Perhaps related to @opichals socket changes?