aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-02-10 15:51:51 +0100
committerYves Senn <yves.senn@gmail.com>2014-02-10 15:51:51 +0100
commit3b868cc99d4e417ac2090529ba41c4918454913d (patch)
tree41ba081f6e91df70446b182b0d48ac79ec8a299f /guides
parent56fa194daa171f50b73f08ec0a52f845dc0f5a51 (diff)
downloadrails-3b868cc99d4e417ac2090529ba41c4918454913d.tar.gz
rails-3b868cc99d4e417ac2090529ba41c4918454913d.tar.bz2
rails-3b868cc99d4e417ac2090529ba41c4918454913d.zip
docs, link to HTTP and CGI header definitions. [ci skip]
This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 34573d2b0a..1880dfb9ce 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -518,8 +518,10 @@ You also have access to three instance variables in your functional tests:
### Setting Headers and CGI variables
-Headers and cgi variables can be set directly on the `@request`
-instance variable:
+[HTTP headers](http://tools.ietf.org/search/rfc2616#section-5.3)
+and
+[CGI variables](http://tools.ietf.org/search/rfc3875#section-4.1)
+can be set directly on the `@request` instance variable:
```ruby
# setting a HTTP Header