Skip to Main Content
Eloquent JavaScript
book

Eloquent JavaScript

by Marijn Haverbeke
January 2011
Intermediate to advanced content levelIntermediate to advanced
224 pages
5h 43m
English
No Starch Press
Content preview from Eloquent JavaScript

Learning HTTP

HTTP is a very clever and flexible protocol. Whenever you find yourself making serious use of it, and especially if you end up designing an HTTP interface (which comes up in almost all server-side web programming), I want you to promise me that you will first study the way the protocol actually works.

The reason I ask is that most programmers start working with HTTP with only a very minimal understanding of it. I certainly did. They don’t know how to properly take advantage, or even deal with, features such as caching (a mechanism to prevent repeatedly fetching the same document) and Internet media types (a way to identify the format of documents), and the result is that they build overcomplicated, brittle, wrong-headed wrappers in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Eloquent JavaScript, 3rd Edition

Eloquent JavaScript, 3rd Edition

Marijn Haverbeke
Learn JavaScript

Learn JavaScript

Shaun Wassell

Publisher Resources

ISBN: 9781593272821Errata