frozen array: Rack::ResponseHeaders #38

Closed
amrnt opened this Issue May 8, 2011 · 0 comments

Comments

Projects
None yet
1 participant

amrnt commented May 8, 2011

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

amrnt closed this Jan 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment