code: func RestfulWithCompression(function restful.RouteFunction) restful.RouteFunction {
  	return restful.RouteFunction(func(request *restful.Request, response *restful.Response) {
  		handler := WithCompression(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
  			response.ResponseWriter = w
  			request.Request = req
  			function(request, response)
  		}))
  		handler.ServeHTTP(response.ResponseWriter, request.Request)
  	})
  }
docs: // RestfulWithCompression wraps WithCompression to be compatible with go-restful