module Roda::RodaPlugins::Base::ResponseMethods

def empty?

response.empty? # => false
response.write('a')
response.empty? # => true

the response as not empty. Example:
that writing an empty string to the response body marks
Whether the response body has been written to yet. Note
def empty?
  @body.empty?
end