Seth Kenlon

撰写的评论

如果运行我的示例,它应该指向 example.com。这是我的输出。 查看“Location:”行

$ curl --head --location \
> "https://bit.ly/2yDyS4T"
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 26 May 2020 18:47:39 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 106
Cache-Control: private, max-age=90
Content-Security-Policy: referrer always;
Location: http://example.com/
[ 为了清晰起见已截断 ]

我没有看到我在本文中声称 Curl 可以解析 Javascript。 我错过了什么吗?

© . All rights reserved.