Update to Rails 2.3.8
This commit is contained in:
parent
6677b46cb4
commit
f0635301aa
429 changed files with 17683 additions and 4047 deletions
|
@ -323,7 +323,9 @@ module ActionController
|
|||
|
||||
@headers = Rack::Utils::HeaderHash.new(headers)
|
||||
|
||||
(@headers['Set-Cookie'] || "").split("\n").each do |cookie|
|
||||
cookies = @headers['Set-Cookie']
|
||||
cookies = cookies.to_s.split("\n") unless cookies.is_a?(Array)
|
||||
cookies.each do |cookie|
|
||||
name, value = cookie.match(/^([^=]*)=([^;]*);/)[1,2]
|
||||
@cookies[name] = value
|
||||
end
|
||||
|
@ -353,6 +355,8 @@ module ActionController
|
|||
# used in integration tests.
|
||||
@response.extend(TestResponseBehavior)
|
||||
|
||||
body.close if body.respond_to?(:close)
|
||||
|
||||
return @status
|
||||
rescue MultiPartNeededException
|
||||
boundary = "----------XnJLe9ZIbbGUYtzPQJ16u1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue