Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #569 from kgrz/patch-2

Fixes #542
  • Loading branch information...
commit ddbba34d3facd6748b9d4a56863d6f1eb80e2f32 2 parents 4184074 + 6ec1aa4
@rkh rkh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.