1
- G. Bianchi, G. Neglia
Lecture 3. Lecture 3.
HTTP v1.0 HTTP v1.0 application application layer layer protocol protocol
into into details details
HTTP 1.0: RFC 1945, HTTP 1.0: RFC 1945, T.
- T. Berners
Berners-
- Lee
Lee, R. , R. Fielding Fielding, , H.
- H. Frystyk
Frystyk, , may may 1996 1996 HTTP 1.1: RFC 2068, 2616 HTTP 1.1: RFC 2068, 2616
- G. Bianchi, G. Neglia
Generalities Generalities
Ascii protocol uses plain text case sensitive
GET is legal get is not…
Messages and delivery order: First: HTTP request Follows: HTTP response Messages + entity bodies: structured sequence of octets Any content (web pages, images, resources, etc) transmitted on TCP
But TCP not mandatory: any reliable transport connection is ok
- G. Bianchi, G. Neglia
Request Request/ /Response Response
HTTP Application Process (Browser)
Socket Client
HTTP Application Process (HTTP Daemon)
Socket Server HTTP request HTTP response
Can you give me /people/bianchi/index.htm? Here it is: “<HTML> bla bla bla …”
TCP connection
PORT: 1024 IP: 194.121.63.2 PORT: 80 IP: 131.175.21.1