code: func uploadAssetToServer(ctx *context.Context, put *config.Put, target, username, secret string, headers map[string]string, a *asset, check ResponseChecker) (*h.Response, error) {
  	req, err := newUploadRequest(target, username, secret, headers, a)
  	if err != nil {
  		return nil, err
  	}
  
  	return executeHTTPRequest(ctx, put, req, check)
  }
docs: // uploadAssetToServer uploads the asset file to target