我们接下来要讲解的内容都会用到下面这个范例
我们使用 CURL 发送模拟 GET 请求服务器上的 static/media/hello.txt 文件
curl -v https://www.fly63.com/static/media/hello.txt
GET /static/media/hello.txt HTTP/1.1
Host: www.fly63.com
User-Agent: curl/7.54.0
Accept: */*
HTTP/1.1 200 OK
Server: Tengine
Date: Sun, 03 Sep 2017 01:08:42 GMT
Content-Type: text/plain
Content-Length: 38
Last-Modified: Sun, 03 Sep 2017 01:08:21 GMT
Connection: keep-alive
ETag: "59ab5605-26"
Strict-Transport-Security: max-age=31536000;includeSubdomains;preload
X-Frame-Options: DENY
Accept-Ranges: bytes
你好,世界
本文内容仅供个人学习/研究/参考使用,不构成任何决策建议或专业指导。分享/转载时请标明原文来源,同时请勿将内容用于商业售卖、虚假宣传等非学习用途哦~感谢您的理解与支持!