Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Document http.STATUS_CODES
Browse files Browse the repository at this point in the history
This is an incredibly useful thing to know about, and it
will likely never change.  I can't remember why we
didn't ever document it, and people keep suggesting we
do so.
  • Loading branch information
isaacs committed May 6, 2012
1 parent 3d84c3d commit 1858d1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/http.markdown
Expand Up @@ -25,6 +25,14 @@ parsing only. It parses a message into headers and body but it does not
parse the actual headers or the body.


## http.STATUS_CODES

* {Object}

A collection of all the standard HTTP response status codes, and the
short description of each. For example, `http.STATUS_CODES[404] === 'Not
Found'`.

## http.createServer([requestListener])

Returns a new web server object.
Expand Down

0 comments on commit 1858d1c

Please sign in to comment.