add some comments
This commit is contained in:
parent
314d43203f
commit
d1b7f36918
4 changed files with 17 additions and 13 deletions
|
@ -14,7 +14,8 @@ curl(url, options, function(err, res) {
|
|||
res.close();
|
||||
});
|
||||
|
||||
curl('www.google.com', {VERBOSE: 1, RAW: 1}, function(err, res) {
|
||||
curl('https://www.google.com', {VERBOSE: 1, RAW: 1}, function(err, res) {
|
||||
console.info("\x1b[33meffetcive url: " + res.info('EFFECTIVE_URL') + "\x1b[0m");
|
||||
console.info(res);
|
||||
res.close();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue