The Response: Status, Headers, and Body
Let's see what a response is made up of!
We'll cover the following
Parts of the server’s response
A PHP script contributes to the server’s response in several ways:
- It sets a response status (normally
200 OK
). - It can set or add response headers.
- It can provide a response body.
You can learn more about these parts of a response by opening the Network panel again. Select one of the requests in the list and inspect the Headers and Response panels that show up on the right side of the screen.
Get hands-on with 1400+ tech skills courses.