def do_GET(self):
    if self.path == '/swarming/api/v1/bot/server_ping':
      self.send_response(200)
      self.end_headers()
      return None
    if self.path == '/auth/api/v1/server/oauth_config':
      return self.send_json({
          'client_id': 'id',
          'client_not_so_secret': 'hunter2',
          'primary_url': self.server.url,
        })
    raise NotImplementedError(self.path)