-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
支持header中定义Host #23
Comments
你是说命令行工具吗 |
|
Boot()方法是支持传递请求头的,示例: URL("https://www.baidu.com/index.html").
Extra(http.Extra{
Header: map[string]string{"host": "127.0.0.1"},
}) |
感谢! |
不客气哈~ |
net/http这个包直接在header中写Host参数似乎是不能生效的,我通过
|
@typ431127 这样啊,那可以在 |
👍👍👍👍👍 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个工具下载速度确实很快,很棒的一个项目!
能否支持在header中定义host,有些走默认域名下载很慢,想直接走ip
The text was updated successfully, but these errors were encountered: