Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liangran10000
Copy link

Ⅰ. 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
Collaborator

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
Copy link
Member

jim3ma commented Sep 29, 2020

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.

None yet

3 participants