HTTP: Response Messages
Let's look at what HTTP response messages look like!
We'll cover the following...
We'll cover the following...
Introduction
Let’s start with a typical example of an HTTP response message:
It has 3 parts: an initial status line, some header lines and an entity body.
Note: HTTP response messages don’t have the URL or the method fields. Those are strictly for request messages.
Status Line
- HTTP response status lines start with the HTTP version.
Status Code
- The status code comes next which tells the client if the request succeeded or failed.