1--TEST-- 2Location: headers do not override the 302 Found response code 3--CGI-- 4--FILE-- 5<?php 6header('HTTP/1.1 302 Found'); 7header('Location: http://example.com/'); 8?> 9--EXPECTHEADERS-- 10Status: 302 Found 11Location: http://example.com/ 12--EXPECT-- 13