提交 67263020 编写于 作者: G Grey Baker

Fix typo in headers comment

上级 475109c5
...@@ -5,7 +5,7 @@ module Http ...@@ -5,7 +5,7 @@ module Http
# env = { "CONTENT_TYPE" => "text/plain", "HTTP_USER_AGENT" => "curl/7.43.0" } # env = { "CONTENT_TYPE" => "text/plain", "HTTP_USER_AGENT" => "curl/7.43.0" }
# headers = ActionDispatch::Http::Headers.new(env) # headers = ActionDispatch::Http::Headers.new(env)
# headers["Content-Type"] # => "text/plain" # 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 # Also note that when headers are mapped to CGI-like variables by the Rack
# server, both dashes and underscores are converted to underscores. This # server, both dashes and underscores are converted to underscores. This
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册