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