Fixed webrick_server cookie handling to allow multiple cookes to be set at...

Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 ce238628
*SVN*
* Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
* Fixed the Rakefile's interaction with postgresql use PGPASSWORD and PGHOST in the environment to fix prompting for passwords when connecting to a remote db and local socket connections. Also added a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
* Fixed the Rakefile's interaction with postgresql to quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
......
......@@ -94,6 +94,7 @@ def handle_dispatch(req, res, origin = nil)
res.status = $1.to_i
header.delete('status')
end
res.cookies.concat header.delete('set-cookie')
header.each { |key, val| res[key] = val.join(", ") }
res.body = body
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册