The HTTP headers are a part of the
request object being sent to the server. Many of them give information about the client's user agent setup and configuration, as that is sometimes the basis of making description for the resources being fetched from the server. Several of them such as
If-Modified-Since are closely related to caching, while others such as
DNT that stands for "Do Not Track" (http://www.w3.org/2011/tracking-protection/drafts/tracking-dnt.html) can be quite controversial. In this recipe, we will take a look at a way for using the custom
X-Myapp header in our server and client-side code.
The server will be implemented using Node.js, so you can refer to Appendix ...