class Sinatra::ExtendedRack

def async?(status, headers, body)

def async?(status, headers, body)
  return true if status == -1
  body.respond_to? :callback and body.respond_to? :errback
end