diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/webrick_server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/webrick_server.rb b/railties/lib/webrick_server.rb index 49244837ef..cc45867128 100644 --- a/railties/lib/webrick_server.rb +++ b/railties/lib/webrick_server.rb @@ -94,6 +94,7 @@ class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet 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 |