<commit_before>package kite

import (
	"fmt"
	"net/http"
	"net/url"
	"os/exec"
	"runtime"
	"time"

	"code.google.com/p/go.crypto/ssh/terminal"
	"github.com/gorilla/websocket"
	"github.com/koding/kite/sockjsclient"
	"github.com/koding/kite/systeminfo"
)

func (k *Kite) addDefaultHandlers() {
	k.HandleFunc("kite.systemInfo", systemInfo)
	k.HandleFunc("kite.heartbeat", k.handleHeartbeat)
	k.HandleFunc("kite.ping", handlePing)
	k.HandleFunc("kite.tunnel", handleTunnel)
	k.HandleFunc("kite.log", k.handleLog)
	k.HandleFunc("kite.print", handlePrint)
	k.HandleFunc("kite.prompt", handlePrompt)
	k.HandleFunc("kite.getPass", handleGetPass)
	if runtime.GOOS == "darwin" {
		k.HandleFunc("kite.notify", handleNotifyDarwin)
	}
}
<commit_msg>kite/handlers: disable authentication for ping, it should be a generic handler<commit_after>package kite

import (
	"fmt"
	"net/http"
	"net/url"
	"os/exec"
	"runtime"
	"time"

	"code.google.com/p/go.crypto/ssh/terminal"
	"github.com/gorilla/websocket"
	"github.com/koding/kite/sockjsclient"
	"github.com/koding/kite/systeminfo"
)

func (k *Kite) addDefaultHandlers() {
	k.HandleFunc("kite.systemInfo", systemInfo)
	k.HandleFunc("kite.heartbeat", k.handleHeartbeat)
	k.HandleFunc("kite.ping", handlePing).DisableAuthentication()
	k.HandleFunc("kite.tunnel", handleTunnel)
	k.HandleFunc("kite.log", k.handleLog)
	k.HandleFunc("kite.print", handlePrint)
	k.HandleFunc("kite.prompt", handlePrompt)
	k.HandleFunc("kite.getPass", handleGetPass)
	if runtime.GOOS == "darwin" {
		k.HandleFunc("kite.notify", handleNotifyDarwin)
	}
}

{'fraction_non_alphanumeric': 0.16399743754003843, 'fraction_numerical': 0.0, 'mean_word_length': 5.590717299578059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '854355', 'n_tokens_mistral': 641, 'n_tokens_neox': 623, 'n_words': 86}