You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if len(bucket) != 0 && net.ParseIP(domain) == nil { // not use an IP as the endpoint by client
req.SetUri(bce.URI_PREFIX + object)
req.SetHost(bucket + "." + req.Host())
} else {
req.SetUri(getObjectUri(bucket, object))
}
此处逻辑在配置了bucket和endpoint之后,setHost会在endpoint之前再加上bucket,导致无法访问
The text was updated successfully, but these errors were encountered:
if len(bucket) != 0 && net.ParseIP(domain) == nil { // not use an IP as the endpoint by client
req.SetUri(bce.URI_PREFIX + object)
req.SetHost(bucket + "." + req.Host())
} else {
req.SetUri(getObjectUri(bucket, object))
}
此处逻辑在配置了bucket和endpoint之后,setHost会在endpoint之前再加上bucket,导致无法访问
The text was updated successfully, but these errors were encountered: