Web Tech

Table of Contents

HTTP

a request-response protocol

client is a user agent (browser), server is an application process running on a different computer

URI: uniform resource identifier

URLs: http://www.example.org:5678/a/b.txt?tc=win&r=10#para5

Content negotiation

Request methods

Request example:

GET /test.html HTTP/1.1
HOST: [www.example.org](http://www.example.org)

Response example:

HTTP/1.1 200 OK
Date: <timestamp>

Header fields are included in the requests, like:

HTTP response codes:

HTTP servers: