From 1e29aa1c122fe01bb9436d7ffa6bdd17d5fb8357 Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Tue, 14 Oct 2014 17:05:59 -0400 Subject: [PATCH] Make /ping endpoint respond with "OK" --- oauthproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauthproxy.go b/oauthproxy.go index a9a03d3..87a29b2 100644 --- a/oauthproxy.go +++ b/oauthproxy.go @@ -195,7 +195,7 @@ func (p *OauthProxy) SetCookie(rw http.ResponseWriter, req *http.Request, val st func (p *OauthProxy) PingPage(rw http.ResponseWriter) { rw.WriteHeader(http.StatusOK) - fmt.Fprintf(rw, "pong") + fmt.Fprintf(rw, "OK") } func (p *OauthProxy) ErrorPage(rw http.ResponseWriter, code int, title string, message string) {