Skip to content
Browse files

Merge pull request #569 from kgrz/patch-2

Fixes #542
  • Loading branch information...
2 parents 4184074 + 6ec1aa4 commit ddbba34d3facd6748b9d4a56863d6f1eb80e2f32 @rkh rkh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
2 README.rdoc
@@ -1144,7 +1144,7 @@ error handlers) through the <tt>request</tt> method:
request.host # "example.com"
request.get? # true (similar methods for other verbs)
request.form_data? # false
- request["SOME_HEADER"] # value of SOME_HEADER header
+ request["some_param"] # value of some_param parameter. [] is a shorcut to the params hash.
request.referrer # the referrer of the client or '/'
request.user_agent # user agent (used by :agent condition)
request.cookies # hash of browser cookies

0 comments on commit ddbba34

Please sign in to comment.
Something went wrong with that request. Please try again.