browsermob-proxy-api
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -193,2 +193,9 @@ var http = require('http'); | ||
var request = http.request(options, respCallback); | ||
request.on('error', function(err) { | ||
if (callback !== undefined) { | ||
callback(err, null); | ||
} | ||
}); | ||
if(data) { request.write(data); } | ||
@@ -195,0 +202,0 @@ request.end(); |
{ | ||
"name": "browsermob-proxy-api", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "NodeJS bindings for controlling a browsermob-proxy instance (creating ports, HARs, etc)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7956
170