May 2019
Intermediate to advanced
478 pages
11h 21m
English
Like the HTTP request, the HTTP response also consists of a header part and a body part. Also similar to the HTTP request, the body part is optional. Most HTTP responses do have a body part, though.
The server at www.example.com could respond to our HTTP request with the following reply:
HTTP/1.1 200 OKCache-Control: max-age=604800Content-Type: text/html; charset=UTF-8Date: Fri, 14 Dec 2018 16:46:09 GMTEtag: "1541025663+gzip"Expires: Fri, 21 Dec 2018 16:46:09 GMTLast-Modified: Fri, 09 Aug 2013 23:54:35 GMTServer: ECS (ord/5730)Vary: Accept-EncodingX-Cache: HITContent-Length: 1270<!doctype html><html><head> <title>Example Domain</title>...
The first line of an HTTP response is the status line. The status line consists ...
Read now
Unlock full access