Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

禁用 Want-Digest 标头 #10

Closed
mogu1121 opened this issue Dec 9, 2020 · 5 comments
Closed

禁用 Want-Digest 标头 #10

mogu1121 opened this issue Dec 9, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@mogu1121
Copy link

mogu1121 commented Dec 9, 2020

https://github.com/P3TERX/aria2-builder/
这个禁用了 Want-Digest 但是没有win版

@myfreeer
Copy link
Owner

myfreeer commented Dec 9, 2020

Want-Digest 头在 HttpRequest::createRequest#L265 引入,受noWantDigest_ 控制,noWantDigest_ 可通过 setNoWantDigest 修改,但官方不能通过选项参数控制。
考虑增加选项参数控制而不是简单的禁用或启用。

@myfreeer myfreeer added the enhancement New feature or request label Dec 9, 2020
@myfreeer
Copy link
Owner

myfreeer commented Dec 13, 2020

@mogu1121
Copy link
Author

怎么才能统一在不同的目录使用配置文件
我之前用的官方版本统一在 %USERPROFILE% + .aria2\aria2.conf
现在是 启动目录 + .config/aria2/aria2.conf

@myfreeer
Copy link
Owner

由于此编译版增加了一些配置项,与官方版本使用相同的配置文件可能影响对增加的配置项的定制。
可使用符号链接或硬链接,参考 mklink 命令

@mogu1121
Copy link
Author

是不是也要启动目录存在链接才有用啊

droid-Q added a commit to droid-Q/aria2 that referenced this issue Nov 15, 2022
Sending this HTTP header should be optional.
Should close myfreeer/aria2-build-msys2#10

 --http-want-digest[=true|false] Send Want-Digest HTTP requser header
                              with only limited hash algorithms:
                              SHA-512, SHA-256, and SHA-1.
                              The Want-Digest HTTP header is primarily used
                              in a HTTP request, to ask the responder to
                              provide a digest of the requested resource
                              using the Digest response header

                              Possible Values: true, false
                              Default: false
                              Tags: #advanced, #http
droid-Q added a commit to droid-Q/aria2 that referenced this issue Nov 15, 2022
Sending this HTTP header should be optional.
Should close myfreeer/aria2-build-msys2#10

 --http-want-digest[=true|false] Send Want-Digest HTTP requser header
                              with only limited hash algorithms:
                              SHA-512, SHA-256, and SHA-1.
                              The Want-Digest HTTP header is primarily used
                              in a HTTP request, to ask the responder to
                              provide a digest of the requested resource
                              using the Digest response header

                              Possible Values: true, false
                              Default: false
                              Tags: #advanced, #http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants