ipconfig
(Windows)
또는 ifconfig
(Mac/Linux)GET
/images/logo.png HTTP/1.1
<==
서버로부터
/images/logo.png
파일을 요청
POST filename
<==
서버에 전달PUT filename
<==
서버에 업로드HTTP/1.1 200 OK Date: Mon, 23 May 2005 22:38:34 GMT Content-Type: text/html; charset=UTF-8 Content-Encoding: UTF-8 Content-Length: 138 Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) ETag: "3f80f-1b6-3e1cb03b" 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>
Number | Meaning |
---|---|
200 | OK |
301-303 | page has moved (permanently or temporarily) |
403 | you are forbidden to access this page |
404 | page not found |
500 | internal server error |
complete list |
[ 이미지 출처 http://www.krnic.or.kr/
http://jun.hansung.ac.kr/SWP/intro.html ~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ protocol host path