aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorGrey Baker <greysteil@gmail.com>2016-03-29 12:21:21 +0100
committerGrey Baker <greysteil@gmail.com>2016-03-29 12:21:21 +0100
commit67263020ec4c40ff1cef5080056b233e9d723116 (patch)
tree99c41547c81eeb96c2ac4538b8271b0e9388a427 /actionpack
parent475109c517e724c015ee13061416568a7d6b9757 (diff)
downloadrails-67263020ec4c40ff1cef5080056b233e9d723116.tar.gz
rails-67263020ec4c40ff1cef5080056b233e9d723116.tar.bz2
rails-67263020ec4c40ff1cef5080056b233e9d723116.zip
Fix typo in headers comment
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/http/headers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/headers.rb b/actionpack/lib/action_dispatch/http/headers.rb
index 5c3b7245d6..69a934b7cd 100644
--- a/actionpack/lib/action_dispatch/http/headers.rb
+++ b/actionpack/lib/action_dispatch/http/headers.rb
@@ -5,7 +5,7 @@ module ActionDispatch
# env = { "CONTENT_TYPE" => "text/plain", "HTTP_USER_AGENT" => "curl/7.43.0" }
# headers = ActionDispatch::Http::Headers.new(env)
# headers["Content-Type"] # => "text/plain"
- # headers["User-Agent"] # => "curl/7/43/0"
+ # headers["User-Agent"] # => "curl/7.43.0"
#
# Also note that when headers are mapped to CGI-like variables by the Rack
# server, both dashes and underscores are converted to underscores. This