January 2019
Beginner
132 pages
3h 14m
English
HTTP response headers follow the status line and look very similar to HTTP request headers. These also provide metadata specific to the response, much like request headers do. Here are the headers from our example.com response:
Accept-Ranges: bytesCache-Control: max-age=604800Content-Type: text/html; charset=UTF-8Date: Mon, 29 Oct 2018 13:31:23 GMTEtag: "1541025663"Expires: Mon, 05 Nov 2018 13:31:23 GMTLast-Modified: Fri, 09 Aug 2013 23:54:35 GMTServer: ECS (dca/53DB)Vary: Accept-EncodingX-Cache: HITContent-Length: 1270
In this response, you can see some headers describing the content of the page, how to cache it, and the size of the remaining data. This information is useful for processing the data after it has been received. ...
Read now
Unlock full access