"HTTP 요청, HTTP 응답"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
52번째 줄: 52번째 줄:
*[[/var/log/httpd/access_log]]
*[[/var/log/httpd/access_log]]


==참고 자료==
==참고==
*https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
*https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
*RFC 1945
*RFC 1945


[[분류: HTTP]]
[[분류: HTTP]]

2017년 6월 27일 (화) 04:09 판

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 /contacts/new HTTP/1.1
Host: www.zetawiki.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 }}