HTTP 요청, HTTP 응답

Jmnote (토론 | 기여)님의 2016년 2월 28일 (일) 17:46 판 (→‎HTTP 요청)
HTTP request message; HTTP request
HTTP 요청 메시지; HTTP 요청
HTTP response message; HTTP response
HTTP 응답 메시지; HTTP 응답

1 HTTP 요청

GET /index.html HTTP/1.1
Host: www.example.com
POST /codecademy/learn-http HTTP/1.1
Host: www.example.com
Content-Type: text/html; charset=UTF-8

Name=Eric&Age=26

2 HTTP 응답

HTTP/1.1 200 OK
Date: Mon, 23 May 2005 22:38:34 GMT
Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux)
Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
ETag: "3f80f-1b6-3e1cb03b"
Content-Type: text/html; charset=UTF-8
Content-Length: 131
Accept-Ranges: bytes
Connection: close

<html>
<head>
  <title>An Example Page</title>
</head>
<body>
  Hello World, this is a very simple HTML document.
</body>
</html>

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}