http.go
func HTTPRespondText(response string, responseWriter http.ResponseWriter, request *http.Request) (err error) {
	NewHTTPCompressHandlerFromFunc(func(responseWriter http.ResponseWriter, request *http.Request) {
		responseWriter.Header().Set("Content-Type", "text/plain")
		_, err = responseWriter.Write([]byte(response))
	}).ServeHTTP(responseWriter, request)
	return err
}
func HTTPRespondText(response string, responseWriter http.ResponseWriter, request *http.Request) (err error) {
	NewHTTPCompressHandlerFromFunc(func(responseWriter http.ResponseWriter, request *http.Request) {
		responseWriter.Header().Set("Content-Type", "text/plain")
		_, err = responseWriter.Write([]byte(response))
	}).ServeHTTP(responseWriter, request)
	return err
}
func HTTPRespondText ( response string , responseWriter http . ResponseWriter , request * http . Request ) ( err error ) { NewHTTPCompressHandlerFromFunc ( func ( responseWriter http . ResponseWriter , request * http . Request ) { responseWriter . Header ( ) . Set ( " " , " " ) _ , err = responseWriter . Write ( [ ] byte ( response ) ) } ) . ServeHTTP ( responseWriter , request ) return err }
// HTTPRespondText sets Content-Type to text/plain
// and compresses the response if Content-Encoding from the request allows it.
HTTPRespondText sets Content - Type to text / plain and compresses the response if Content - Encoding from the request allows it .