Allows you to tap into the response headers. Yields a Rack::Utils::HeaderHash of current response headers to the block. Example:
use Rack::ResponseHeaders do |headers|
headers['X-Foo'] = 'bar'
headers.delete('X-Baz')
end
Generated with the Darkfish Rdoc Generator 2.