var win = gui.Window.open('https://github.com');How do i get the http response headers from github in win object?
Thank you.
chrome.webRequest.onResponseStarted.addListener(
function(details) { // https://developer.chrome.com/extensions/webRequest#event-onResponseStarted
console.log(details.responseHeaders);
},
{urls: ["<all_urls>"]}, // filter: change this to catch only request(s) you're interested in https://developer.chrome.com/extensions/webRequest#subscription
["responseHeaders"] // extra options. "responseHeaders" option is required to get responseHeaders in details object
);
var win = gui.Window.open('https://github.com');
--
You received this message because you are subscribed to the Google Groups "nw.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nwjs-general...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "nw.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nwjs-general/cK3rXac2MPE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nwjs-general...@googlegroups.com.