class Sinatra::Default
def headers(header=nil)
def headers(header=nil) sinatra_warn "The 'headers' method is deprecated; use 'response' instead." response.headers.merge!(header) if header response.headers end
def headers(header=nil) sinatra_warn "The 'headers' method is deprecated; use 'response' instead." response.headers.merge!(header) if header response.headers end