module Roda::RodaPlugins::Base::RequestMethods

def block_result_body(result)

returned otherwise.
a body. By default, a String is returned directly, and nil is
The body to use for the response if the response does not already have
def block_result_body(result)
  case result
  when String
    result
  when nil, false
    # nothing
  else
    unsupported_block_result(result)
  end
end