code: def render_GET(self, request):
      
      fullPath = request.path.split('/')
      if not fullPath[-1]:
        fullPath = fullPath[:-1]
      parts = fullPath[2:]
      statDict = util.lookup(scales.getStats(), parts)
  
      if statDict is None:
        request.setResponseCode(404)
        return "Path not found."
  
      if 'query' in request.args:
        query = request.args['query'][0]
      else:
        query = None
  
      if 'format' in request.args and request.args['format'][0] == 'json':
        request.headers['content-type'] = 'text/javascript; charset=UTF-8'
        formats.jsonFormat(request, statDict, query)
      elif 'format' in request.args and request.args['format'][0] == 'prettyjson':
        request.headers['content-type'] = 'text/javascript; charset=UTF-8'
        formats.jsonFormat(request, statDict, query, pretty=True)
      else:
        formats.htmlHeader(request, '/' + '/'.join(parts), self.serverName, query)
        formats.htmlFormat(request, tuple(parts), statDict, query)
  
      return ''
docs: Renders a GET request, by showing this nodes stats and children.