The header function has special case logic to also set the response status code. When the header paramter to the header() function begins with HTTP/, Status:, or Location:, the HTTP response status code is modified.