HTTP Protocol

最後更新: 2022-11-29

 


HTTP

 

  • stateless

 


 

 


流程

 

Client-Server 協定

Client -Request-> Server

Client <-Response- Server

Request(Mini)

GET / HTTP/1.1
Host: developer.mozilla.org

Response

HTTP/1.1 200 OK
Date: Sat, 09 Oct 2010 14:28:02 GMT
Server: Apache
Last-Modified: Tue, 01 Dec 2009 20:18:22 GMT
ETag: "51142bc1-7449-479b075b2891b"
Accept-Ranges: bytes
Content-Length: 29769
Content-Type: text/html

... DATA ...

http protocol newline

\r\n        # CR LF, RFC2616

CR = <US-ASCII CR, carriage return (13)>
LF = <US-ASCII LF, linefeed (10)>

 

 

 

 

 

Creative Commons license icon Creative Commons license icon