- fix #198: Cookie header is always passed even if there is no cookie

- some cleanup
This commit is contained in:
Sefa Ilkimen
2019-04-09 17:25:55 +02:00
parent 13976bbe43
commit d444363a8e
23 changed files with 65 additions and 31 deletions
+13
View File
@@ -0,0 +1,13 @@
exports.configure = driver => {
driver.on('status', info => {
console.log(info.cyan);
});
driver.on('command', (meth, path, data) => {
console.log(' > ' + meth.yellow, path.grey, data || '');
});
driver.on('http', (meth, path, data) => {
console.log(' > ' + meth.magenta, path, (data || '').grey);
});
};