code: func NewRequest(client HTTPClient, verb string, baseURL *url.URL, versionedAPIPath string, content ContentConfig, serializers Serializers, backoff BackoffManager, throttle flowcontrol.RateLimiter, timeout time.Duration) *Request {
  	if backoff == nil {
  		klog.V(2).Infof("Not implementing request backoff strategy.")
  		backoff = &NoBackoff{}
  	}
  
  	pathPrefix := "/"
  	if baseURL != nil {
  		pathPrefix = path.Join(pathPrefix, baseURL.Path)
  	}
  	r := &Request{
  		client:      client,
  		verb:        verb,
  		baseURL:     baseURL,
  		pathPrefix:  path.Join(pathPrefix, versionedAPIPath),
  		content:     content,
  		serializers: serializers,
  		backoffMgr:  backoff,
  		throttle:    throttle,
  		timeout:     timeout,
  	}
  	switch {
  	case len(content.AcceptContentTypes) > 0:
  		r.SetHeader("Accept", content.AcceptContentTypes)
  	case len(content.ContentType) > 0:
  		r.SetHeader("Accept", content.ContentType+", */*")
  	}
  	return r
  }
docs: // NewRequest creates a new request helper object for accessing runtime.Objects on a server.