This commit is contained in:
WJQSERVER 2025-01-03 18:45:25 +08:00
parent a281d4c779
commit 972baee564
4 changed files with 10 additions and 2 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
demo.toml
demo.toml
dev
*.log

View file

@ -1,5 +1,10 @@
# 更新日志
25w01d
---
- PRE-RELEASE: 此版本是v1.8.0的预发布版本,请勿在生产环境中使用
- CHANGE: 尝试修复部分问题
25w01c
---
- PRE-RELEASE: 此版本是v1.8.0的预发布版本,请勿在生产环境中使用

View file

@ -1 +1 @@
25w01c
25w01d

View file

@ -179,6 +179,7 @@ func ProxyRequest(c *gin.Context, u string, cfg *config.Config, mode string, run
// 发送HEAD请求, 预获取Content-Length
headReq := client.R()
setRequestHeaders(c, headReq)
authPassThrough(c, cfg, headReq)
headResp, err := headReq.Head(u)
if err != nil {