class Sinatra::Default

def headers(header=nil)

Deprecated. Use: response['Header-Name']
def headers(header=nil)
  sinatra_warn "The 'headers' method is deprecated; use 'response' instead."
  response.headers.merge!(header) if header
  response.headers
end