Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

fix(supernode/httpclient): use HEAD request(not GET) to GetContentLength#1492

Open
liangran10000 wants to merge 1 commit into
dragonflyoss:masterfrom
liangran10000:master
Open

fix(supernode/httpclient): use HEAD request(not GET) to GetContentLength#1492
liangran10000 wants to merge 1 commit into
dragonflyoss:masterfrom
liangran10000:master

Conversation

@liangran10000

Copy link
Copy Markdown

Ⅰ. Describe what this PR did
use HEAD request(not GET) to GetContentLength
Ⅱ. Does this pull request fix one issue?
no
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@pouchrobot

Copy link
Copy Markdown
Contributor

We found this is your first time to contribute to Dragonfly, @liangran10000
👏 We really appreciate it.
Just remind that you have read the contribution guide: https://github.com/dragonflyoss/Dragonfly/blob/master/CONTRIBUTING.md
If you didn't, you should do that first. If done, welcome again and please enjoy hacking! 🍻

@jim3ma

jim3ma commented Sep 29, 2020

Copy link
Copy Markdown
Member

Thanks for your work.

HEAD request is not work for some web servers. We need to handle this issue.

Signed-off-by: Ryan Liang <liangran10000@163.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants