HTTP - Response

> (World Wide) Web - (W3|WWW) > (HTTP|HTTPS) - Hypertext Transfer Protocol

1 - About

An HTTP response is sent from a server to a client in response to a request.

An HTTP response returns back


3 - Headers

Most known Response header

3.1 - Status

The first header is the status code that tells about success or failure of the request.

HTTP defines a set of status codes, like 200 for success and 404 for not found. Other protocols based on HTTP can define additional status codes.

The HTTP response codes are equivalent to statuses in other protocols that have the same basic meanings. For example, a “file not found” error is equivalent to a 404 code, a server error is equivalent to a 5xx code, and so on.

3.2 - Content Type

3.3 - CSP