http-headers Getting started with http-headers HTTP Response


Example

A possible response to the request above. The response contains the HTTP headers Date, Content-Type, Content-Encoding and Content-Length.

HTTP/1.1 200 OK
Date: Wed, 21 Jun 2017 10:58:03 GMT
Content-Type: text/html; charset=UTF-8
Content-Encoding: UTF-8
Content-Length: 150

<response body>

The response body is sent after the headers, separated by a blank line.