module Sinatra::Helpers

def headers(hash=nil)

Set multiple response headers with Hash.
def headers(hash=nil)
  response.headers.merge! hash if hash
  response.headers
end