aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-03-12 19:56:10 -0500
committerJon Moss <maclover7@users.noreply.github.com>2016-03-12 19:56:10 -0500
commitfeef64cee4497ed4cdab04fffd37204c84452cee (patch)
treef1a25c0be43b952a406904ef58428c9da912de58 /guides/source
parentdde830faf5ee9930321a9c0a9b78a8a1e514fb5f (diff)
parent0c85ff33b1b84ee68cad47f5c294051fecccf115 (diff)
downloadrails-feef64cee4497ed4cdab04fffd37204c84452cee.tar.gz
rails-feef64cee4497ed4cdab04fffd37204c84452cee.tar.bz2
rails-feef64cee4497ed4cdab04fffd37204c84452cee.zip
Merge pull request #24175 from y-yagi/add_headers_to_payload
add headers to payload list [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_support_instrumentation.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md
index 0fd0112c9f..03af3cf819 100644
--- a/guides/source/active_support_instrumentation.md
+++ b/guides/source/active_support_instrumentation.md
@@ -112,6 +112,7 @@ Action Controller
| `:controller` | The controller name |
| `:action` | The action |
| `:params` | Hash of request parameters without any filtered parameter |
+| `:headers` | Request headers |
| `:format` | html/js/json/xml etc |
| `:method` | HTTP request verb |
| `:path` | Request path |
@@ -121,6 +122,7 @@ Action Controller
controller: "PostsController",
action: "new",
params: { "action" => "new", "controller" => "posts" },
+ headers: #<ActionDispatch::Http::Headers:0x0055a67a519b88>,
format: :html,
method: "GET",
path: "/posts/new"
@@ -134,6 +136,7 @@ Action Controller
| `:controller` | The controller name |
| `:action` | The action |
| `:params` | Hash of request parameters without any filtered parameter |
+| `:headers` | Request headers |
| `:format` | html/js/json/xml etc |
| `:method` | HTTP request verb |
| `:path` | Request path |
@@ -146,6 +149,7 @@ Action Controller
controller: "PostsController",
action: "index",
params: {"action" => "index", "controller" => "posts"},
+ headers: #<ActionDispatch::Http::Headers:0x0055a67a519b88>,
format: :html,
method: "GET",
path: "/posts",