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