提交 5e989027 编写于 作者: Y yui-knk

`Response#charset=` uses `default_charset` when `nil` is passed

上级 58f10a31
......@@ -252,7 +252,7 @@ def sending_file=(v)
end
# Sets the HTTP character set. In case of +nil+ parameter
# it sets the charset to utf-8.
# it sets the charset to +default_charset+.
#
# response.charset = 'utf-16' # => 'utf-16'
# response.charset = nil # => 'utf-8'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册