Chapter 17. HTTP
“The dream behind the Web is of a common information space in which we communicate by sharing information. Its universality is essential: the fact that a hypertext link can point to anything, be it personal, local or global, be it draft or highly polished.”
—Tim Berners-Lee, The World Wide Web: A very short personal history
The Hypertext Transfer Protocol, already mentioned in Chapter 12, is the mechanism through which data is requested and provided on the World Wide Web. This chapter describes the protocol in more detail and explains the way browser JavaScript has access to it.
The Protocol
If you type eloquentjavascript.net/17_http.html into your browser’s address bar, the browser first looks up the address of the server associated ...
Get Eloquent JavaScript, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.