Commit f4511cf9 f4511cf985b2998d98b857e5155a0a9147fd8317 by Nicolas Perriault

refs #137 - no need for an erronously typed default for headers

1 parent 15059a34
......@@ -816,7 +816,7 @@ Casper.prototype.open = function open(location, settings) {
this.page.openUrl(this.requestUrl, {
operation: settings.method,
data: settings.data,
headers: settings.headers || {}
headers: settings.headers
}, this.page.settings);
this.resources = [];
return this;
......