module Roda::RodaPlugins::NotAllowed::RequestMethods

def root

response for non-GET requests.
Treat +r.root+ similar to r.get '', using a 405
def root
  super
  if @remaining_path == "/"  && !is_get?
    always{method_not_allowed("GET")}
  end
end