The Response: Status, Headers, and Body

Let's see what a response is made up of!

Parts of the server’s response

A PHP script contributes to the server’s response in several ways:

  1. It sets a response status (normally 200 OK).
  2. It can set or add response headers.
  3. 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 1200+ tech skills courses.