[doc][ci] Add http header to avoid github 403 in dlc (#12509) (#12793)

Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
This commit is contained in:
Eric Gao 2022-11-07 19:33:43 +08:00 committed by GitHub
parent d034f3c869
commit bba3fd93b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,14 @@
"replacement": "https://dolphinscheduler.apache.org/zh-cn/download/download.html"
}
],
"httpHeaders": [
{
"urls": ["https://docs.github.com/"],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
],
"timeout": "10s",
"retryOn429": true,
"retryCount": 10,