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

Commit

Permalink
Browse files Browse the repository at this point in the history
doc: http: expand request.headers documentation
  • Loading branch information
bnoordhuis committed Sep 12, 2012
1 parent 362189a commit 4870a4e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/api/http.markdown
Expand Up @@ -265,7 +265,16 @@ you can use the `require('querystring').parse` function, or pass

### request.headers

Read only.
Read only map of header names and values. Header names are lower-cased.
Example:

// Prints something like:
//
// { 'user-agent': 'curl/7.22.0',
// host: '127.0.0.1:8000',
// accept: '*/*' }
console.log(request.headers);


### request.trailers

Expand Down

0 comments on commit 4870a4e

Please sign in to comment.