From e0c23cd58254c3fd3c2c1599bd57701d1f4aacc6 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Tue, 4 Aug 2015 17:10:35 -0700 Subject: [PATCH] Add status code to test.js output. --- test/js/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/js/test.js b/test/js/test.js index c7b13662e..363f2a9d1 100644 --- a/test/js/test.js +++ b/test/js/test.js @@ -200,6 +200,7 @@ function post(url, body, callback) { url: url, encoding: null // Return body as buffer, needed for certificate response }, function(error, response, body) { + console.log(("HTTP/1.1 " + response.statusCode).yellow) Object.keys(response.headers).forEach(function(key) { var value = response.headers[key]; var upcased = key.charAt(0).toUpperCase() + key.slice(1);