class YARD::Server::Commands::Base

def not_found

Returns:
  • (void) -
def not_found
  self.status = 404
  return unless body.empty?
  self.body = "Not found: #{request.path}"
  headers['Content-Type'] = 'text/plain'
  headers['X-Cascade'] = 'pass'
  headers['Cache-Control'] = 'nocache'
end