Skip to content

response.js: use statusCodes short cut instead of http.STATUS_CODES - #2602

Closed
tcort wants to merge 1 commit into
expressjs:masterfrom
tcort:statusCodes
Closed

response.js: use statusCodes short cut instead of http.STATUS_CODES#2602
tcort wants to merge 1 commit into
expressjs:masterfrom
tcort:statusCodes

Conversation

@tcort

Copy link
Copy Markdown
Contributor

At the top of the file there is a short cut for http.STATUS_CODES:

var statusCodes = http.STATUS_CODES;

A couple of places in the module still referenced http.STATUS_CODES
directly. Replace those references with the short cut, statusCodes.

At the top of the file there is a short cut for http.STATUS_CODES:
var statusCodes = http.STATUS_CODES;
A couple of places in the module still referenced http.STATUS_CODES
directly. Replace those references with the short cut, statusCodes.
@dougwilsondougwilson self-assigned this Mar 23, 2015
@dougwilsondougwilson added this to the 4.13 milestone Jun 19, 2015
@dougwilson

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@tcort@dougwilson