@@ -38,6 +38,11 @@ var client = &http.Client{
req.Header[key] = val
}
// S3 重定向时添加必要的头
if strings.Contains(req.URL.Host, "amazonaws.com") {
req.Header.Set("x-amz-content-sha256", "UNSIGNED-PAYLOAD")
return nil
},
Timeout: 30 * time.Second,
The note is not visible to the blocked user.