diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-12-15 02:26:00 +0000 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-12-21 03:12:39 +0000 |
commit | e20cbdbe97cbda010fd386cb35a474aa255cd7f6 (patch) | |
tree | b745a5bcb3fe86814ad471bdbbdab88f67da35c6 /ext | |
parent | dca2e96885da874a7a446a22d4046528f25f5baa (diff) | |
download | php-git-e20cbdbe97cbda010fd386cb35a474aa255cd7f6.tar.gz |
Unify HTTP status code maps
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/tests/general_functions/header_redirection_001.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/general_functions/header_redirection_002.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/general_functions/header_redirection_001.phpt b/ext/standard/tests/general_functions/header_redirection_001.phpt index ecf57ec54a..c5ea70b56c 100644 --- a/ext/standard/tests/general_functions/header_redirection_001.phpt +++ b/ext/standard/tests/general_functions/header_redirection_001.phpt @@ -6,6 +6,6 @@ Location: headers change the status code header('Location: http://example.com/'); ?> --EXPECTHEADERS-- -Status: 302 Moved Temporarily +Status: 302 Found Location: http://example.com/ --EXPECT-- diff --git a/ext/standard/tests/general_functions/header_redirection_002.phpt b/ext/standard/tests/general_functions/header_redirection_002.phpt index 2bf6dec510..3f8e0b9dac 100644 --- a/ext/standard/tests/general_functions/header_redirection_002.phpt +++ b/ext/standard/tests/general_functions/header_redirection_002.phpt @@ -7,6 +7,6 @@ header("HTTP/1.1 418 I'm a Teapot"); header('Location: http://example.com/'); ?> --EXPECTHEADERS-- -Status: 302 Moved Temporarily +Status: 302 Found Location: http://example.com/ --EXPECT-- |