1--TEST-- 2Location: headers override non-201 and 3xx response codes 3--CGI-- 4--FILE-- 5<?php 6header("HTTP/1.1 418 I'm a Teapot"); 7header('Location: http://example.com/'); 8?> 9--EXPECTHEADERS-- 10Status: 302 Found 11Location: http://example.com/ 12--EXPECT-- 13