rest/jsonp.go
func (w *jsonpResponseWriter) WriteHeader(code int) {

	w.Header().Set("Content-Type", "text/javascript")

	w.ResponseWriter.WriteHeader(code)
	w.wroteHeader = true
}
func (w *jsonpResponseWriter) WriteHeader(code int) {

	w.Header().Set("Content-Type", "text/javascript")

	w.ResponseWriter.WriteHeader(code)
	w.wroteHeader = true
}
// Overwrite the Content-Type to be text/javascript