class Sinatra::Default

def method_missing(name, *args, &b) #:nodoc:

:nodoc:
Deprecated. Missing messages are no longer delegated to @response.
def method_missing(name, *args, &b) #:nodoc:
  if @response.respond_to?(name)
    sinatra_warn "The '#{name}' method is deprecated; use 'response.#{name}' instead."
    @response.send(name, *args, &b)
  else
    super
  end
end