RFC 1945: HTTP/1.0: The early web protocol

Summary

In May 1996, Tim Berners-Lee, Roy Fielding and Henrik Frystyk documented HTTP/1.0 in RFC 1945 as most clients and servers implemented it consistently at the time. The document describes methods, status codes, headers and Basic Authentication and remains backwards compatible with the even simpler HTTP/0.9. It only has the status Informational, because HTTP/1.1 was already being developed at the same time.

Describing what the majority does

RFC 1945 is honest in its claim: it describes the features implemented consistently in most implementations; what occurs only rarely or inconsistently is listed in an appendix. A request consists of method, resource and version, followed by headers in the style of email and MIME. The response starts with a status code that distinguishes success, redirection, client or server error.

The older HTTP/0.9 knew only one line: GET and an address, without headers and without a status code. RFC 1945 requires servers to still understand such requests but discourages them.

One connection per request

In HTTP/1.0 the client sets up a TCP connection before each request, and the server closes it after the response. For a page with many images this meant many connection setups one after another; HTTP/1.1 therefore made persistent connections the norm.

RFC 1945 also has no Host header yet, so every website needed its own IP address. Basic Authentication transmits user name and password only base64-encoded; the document itself explicitly calls the scheme not secure.

Ideas

  • Method, resource and version form the request line.
  • Status codes separate success, redirection and error.
  • Headers carry metadata in the style of email.
  • Every request needs its own TCP connection.
  • HTTP/0.9 requests should still be understood.
  • Basic Authentication is explicitly not a secure scheme.

Insights

  • A small, text-based interface allowed fast innovation; its limits with connections and hosts only showed as the web grew.
  • A document that describes existing practice can at the same time be the prelude to the next, normative standard.

Facts

  • RFC 1945 appeared in May 1996 with the status Informational.
  • HTTP/1.0 closes the connection after every response.
  • RFC 1945 does not yet know a Host header.
  • RFC 2068 already described HTTP/1.1 in January 1997.

References

Remarks

  • The header Connection: keep-alive was a common but unstandardised extension of HTTP/1.0 servers and browsers before HTTP/1.1 established persistent connections.

Recommendations

  • Use HTTP/1.0 only for the simplest tools and tests.
  • Use Basic Authentication exclusively over HTTPS.
  • Use curl --http1.0 to check how a server behaves towards old clients.

Read the RFC at the RFC Editor

Search the Web Archive

Found a mistake or have something to add? Get in touch.