December 2013
Intermediate to advanced
302 pages
7h 50m
English
HTTP is often discussed as a simple protocol, but the truth is that it’s quite complicated. Most frameworks expose it only on a very basic level, using the ability to route requests based on methods and URLs and to return a few types of responses. They hide the full machinery, which has support for content negotiation, encodings, and caching.
Figure 20, Simple HTTP processing shows how most web frameworks expose the HTTP protocol.

It is simple to understand but hides most of HTTP’s power. If you want caching or content negotiation, you must implement the decision logic yourself in the ...
Read now
Unlock full access