telnet study


telnet example.com 80   //<-- input command

--- request -------------------------------------
Trying 2606:2800:220:1:248:1893:25c8:1946...
Connected to example.com.
Escape character is '^]'.
GET /index.html HTTP/1.1 //<-- input method, version 
Host: example.com        //<-- input host
                         //<-- input blank line
--- respons -------------------------------------
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 398255
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Tue, 12 May 2020 02:42:25 GMT
Etag: "3147526947"
Expires: Tue, 19 May 2020 02:42:25 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (oxr/8321)
Vary: Accept-Encoding
X-Cache: HIT
Content-Length: 1256

<!doctype html>
<html>
<head>
...
</body>
</html>
カテゴリー: 未分類 パーマリンク