chronograf/server/helpers.go

8 lines
123 B
Go

package server
import "net/http"
func location(w http.ResponseWriter, self string) {
w.Header().Add("Location", self)
}