class Rack::BodyProxy

def respond_to_missing?(method_name, include_all = false)

Return whether the wrapped body responds to the method.
def respond_to_missing?(method_name, include_all = false)
  super or @body.respond_to?(method_name, include_all)
end