diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-10-28 13:35:33 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-10-28 13:35:34 +0100 |
commit | 610022851aaeff7a96518a8ee04826547dc33969 (patch) | |
tree | 18e3af915c8ea8efd4e0a8454788763f0a441d96 /doc | |
parent | 61ccaf9a974bedf54622a1d6ad6b6ad00f95f5a5 (diff) | |
download | node-new-610022851aaeff7a96518a8ee04826547dc33969.tar.gz |
http: expose supported methods
Expose the list of supported HTTP methods as a property on the 'http'
module object.
Fixes #6422.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http.markdown | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown index ed390d3aa5..80c3a50934 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -43,6 +43,12 @@ list like the following: 'Host', 'mysite.com', 'accepT', '*/*' ] +## http.METHODS + +* {Array} + +A list of the HTTP methods that are supported by the parser. + ## http.STATUS_CODES * {Object} |