Comparing version 0.0.1 to 0.0.2
@@ -11,4 +11,2 @@ var http = require("http"); | ||
console.log(qs); | ||
var status = qs.status || 200; | ||
@@ -23,2 +21,4 @@ var contentType = qs.contentType || "text/plain"; | ||
console.log(uri.pathname + " - HTTP " + status + " (" + contentType + "): " + body); | ||
response.end(body); | ||
@@ -25,0 +25,0 @@ }); |
{ | ||
"name": "http-echo", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Echo a specific HTTP response back, controlled by URL querystring parameters.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1873