// If the error occurs during the copy operation, the error response is embedded in the 200 OK response. This means that a 200 OK response can contain either a success or an error.
iferr==nil&&resp.StatusCode==200{
ifres.ETag==""{
return&res,resp,errors.New("response 200 OK, but body contains an error")
// If the error occurs during the copy operation, the error response is embedded in the 200 OK response. This means that a 200 OK response can contain either a success or an error.
iferr==nil&&resp.StatusCode==200{
ifres.ETag==""{
return&res,resp,errors.New("response 200 OK, but body contains an error")