GET 请求方法
成功检索资源
以下 GET 请求请求 example.com/contact 处的资源
httpGET /contact HTTP/1.1
Host: example.com
User-Agent: curl/8.6.0
Accept: */*
服务器以 200 OK 状态码返回资源,表示成功
httpHTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Fri, 21 Jun 2024 14:18:33 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Content-Length: 1234