1 min read

HTTP/1.0

In HTTP 1.0 (short-lived connections), a new TCP connection was established for each request and response, and a three-way handshake was performed before each connection was opened. This meant that the connection was closed after each request was served, and a new connection had to be established for each subsequent request. This also explains why HTTP 1.0 did not support persistent connections.

sequenceDiagram participant Client participant Server Note over Client,Server: Establish Connection Client->>Server: GET index.html Server->>Client: 200 OK Note over Client,Server: Close Connection Note over Client,Server: Establish Connection Client->>Server: GET main.css Server->>Client: 200 OK Note over Client,Server: Close Connection Note over Client,Server: Establish Connection Client->>Server: GET main.js Server->>Client: 200 OK Note over Client,Server: Close Connection

HTTP/1.0 was designed primarily for static content, such as HTML pages and images, and it uses a request/response model for communication between the client and server.