Rename effective_options to effectiveOptions.
This commit is contained in:
parent
e37f47a072
commit
b273758a40
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ url2 = 'www.google.com';
|
||||||
options2 = {FOLLOWLOCATION: 1};
|
options2 = {FOLLOWLOCATION: 1};
|
||||||
console.info("GET " + url + " with default options " + JSON.stringify(curl2.defaultOptions) + ' and options ' + JSON.stringify(options2));
|
console.info("GET " + url + " with default options " + JSON.stringify(curl2.defaultOptions) + ' and options ' + JSON.stringify(options2));
|
||||||
curl2(url2, options2, function(err) {
|
curl2(url2, options2, function(err) {
|
||||||
console.info("\x1b[32mGet " + this.url + " with " + JSON.stringify(this.effective_options) + " finished.\x1b[0m");
|
console.info("\x1b[32mGet " + this.url + " with " + JSON.stringify(this.effectiveOptions) + " finished.\x1b[0m");
|
||||||
console.info("\tstatus: " + this.status);
|
console.info("\tstatus: " + this.status);
|
||||||
console.info("\tbody length: " + this.body.length);
|
console.info("\tbody length: " + this.body.length);
|
||||||
console.info("\tinfo SIZE_DOWNLOAD: " + this.info('SIZE_DOWNLOAD'));
|
console.info("\tinfo SIZE_DOWNLOAD: " + this.info('SIZE_DOWNLOAD'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue