# File webapp.rb, line 209
  def send_resource(path)
    path = resource_path(path)
    begin
      mtime = path.mtime
    rescue Errno::ENOENT
      @response.status_line = '404 Not Found'
      HTree.expand_template(@response_body) {"<html>\n  <head><title>404 Not Found</title></head>\n  <body>\n    <h1>404 Not Found</h1>\n    <p>Resource not found: <span _text=\"path\"/></p>\n  </body>\n</html>\n"}
      return
    end
    check_last_modified(path.mtime) {
      path.open {|f|
        @response_body << f.read
      }
    }
  end