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
pull/22966/head
visionmedia 2009-12-07 16:18:43 -08:00 committed by Ryan Dahl
parent 71680f512c
commit 501b4a54be
1 changed files with 1 additions and 1 deletions

View File

@ -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',