mirror of https://github.com/nodejs/node.git
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 :Dpull/22966/head
parent
71680f512c
commit
501b4a54be
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue