报错:已发出 HTTP 请求,正在等待回应... 403 Forbidden. #1434
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@gjmzj
wget 时会缺少请求头,curl 默认会附带一些浏览器请求头,如User-Agent: curl/7.29.0.
Which issue(s) this PR fixes:
Fixes #
针对wget增加请求头.
或则不要求下载wget 二进制, 下载 ezdown 命令修改
curl -L -o ezdown https://github.com/easzlab/kubeasz/releases/download/${release}/ezdown