From 501b4a54be5188e06194597010b5f13067da1caf Mon Sep 17 00:00:00 2001 From: visionmedia Date: Mon, 7 Dec 2009 16:18:43 -0800 Subject: [PATCH] Export STATUS_CODES Express (my framework) uses them as a default response body when non is present. Others might use them for something as well. Beats duplicating the list :D --- lib/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index e49ec5fa33..0450d9b44f 100644 --- a/lib/http.js +++ b/lib/http.js @@ -1,7 +1,7 @@ var sys = require('sys'); var CRLF = "\r\n"; -var STATUS_CODES = { +var STATUS_CODES = exports.STATUS_CODES = { 100 : 'Continue', 101 : 'Switching Protocols', 200 : 'OK',