frozen array: Rack::ResponseHeaders
Closed this issue · 0 comments
amrnt commented
I'm trying to add a headers to the response.
use Rack::ResponseHeaders do |headers|
headers['run'] = 'Yes'
end
But an unexpected error was threw
!! Unexpected error while processing request: can't modify frozen array