@satchmoz It was originally for documents, but then CGI scripts came along and brought server-side apps.
Then Javascript came along and the Web went straight to hell. Everything since then has been about taking a protocol that was designed for serving hypertext documents and turning it into one that serves apps.
I was thinking over a decade ago that we could use a separate protocol for apps instead of continuing to add more hacks to HTTP and HTML.