Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update

  • Loading branch information...
commit ec2f445be7797a26c85fcb24f432ed79c01e54b1 1 parent bf0abf2
@tj authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 express.md
View
9 express.md
@@ -184,13 +184,12 @@
Request prototype.
-# req.get()
+# req.get
Return request header.
The `Referrer` header field is special-cased,
- both `Referrer` and `Referer` will yield are
- interchangeable.
+ both `Referrer` and `Referer` are interchangeable.
## Examples
@@ -199,9 +198,11 @@
req.get('content-type');
// => "text/plain"
-
+
req.get('Something');
// => undefined
+
+ Aliased as `req.header()`.
# req.accepts()
Please sign in to comment.
Something went wrong with that request. Please try again.