aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-03-29 17:32:01 +0530
committerVipul A M <vipulnsward@gmail.com>2016-03-29 17:32:01 +0530
commitf734dd1111b09deb4f1b20629d753f75f04ca17a (patch)
tree9cb809a000ba4d37e3d9244f660443e3a4d556a4
parent3c29836d1d94c0303f23768d4f2f5d3e8aea03ab (diff)
parent67263020ec4c40ff1cef5080056b233e9d723116 (diff)
downloadrails-f734dd1111b09deb4f1b20629d753f75f04ca17a.tar.gz
rails-f734dd1111b09deb4f1b20629d753f75f04ca17a.tar.bz2
rails-f734dd1111b09deb4f1b20629d753f75f04ca17a.zip
Merge pull request #24354 from greysteil/fix-typo
Fix typo in headers comment [ci skip]
-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