HTTP (overview and message formats) Flashcards
Network protocols are _______ that define how entities in a network communicate with each other.
Rules
Network protocols cover how to? (3 items)
- Identify and establish communication with the other party.
- Transmit and receive data.
- Message formats
HTTP is a _______ _________ that runs on top of TCP and IP. It governs communication over the Web.
network protocol.
HTTP is used to request and send resources such as: (5)
- HTML Pages
- Style sheets
- Scripts
- Images
- Fonts
Who designed HTTP?
Tim Berners-Lee and Robert Cailliau
Latest Version of HTTP?
HTTP/2.0 (finalized in 2015)
Most used version of HTTP
HTTP/1.1 (finalized in 1997)
Characteristics of HTTP
- Client Server
- Request Response
- Stateless
Requests are either sent to a server either by:
- another server
- or client programs called user-agents
Programs that make HHTP requests for human users.
User-Agents
Beside web browsers, user agents can also be:
- Mobile apps
- Desktop apps
- Machine-automated user-agents (robots/crawlers)
The most common user-agent
Web-browser
Request messages are sent to a ___________ which handles it, then sends back a response.
Web server.
HTTP communication is done through exchanges of ___________ and ________________.
request and response messages.
It’s usually not a direct connection between user-agent and web server. Sometimes, there are ___________ acting between the client and the server.
Proxy
Characteristic of HTTP that makes the client and server are only aware of each other during the current request-response exchange.
Stateless
An HTTP transaction is the ____________ of request and response.
1:1 exchange
- Browser extracts server’s ___________ from the url.
hostname
- Browser resolves the ___________ via Domain Name Resolution.
IP address.
- Browser extracts the __________ from the URL.
port
- Browser establishes a _______________ with the server.
TCP connection
- Browser sends an ___________________ to the server.
HTTP Request
- Browser receives a _________ from the server.
response
- TCP connection may or may not be ________ (depends on HTTP version).
closed