projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- ensure we have string zvals in http_request_body_fill()
[m6w6/ext-http]
/
tests
/
redirect_003.phpt
diff --git
a/tests/redirect_003.phpt
b/tests/redirect_003.phpt
index ba9b83b6734b7382f25770ab9eddd6d519c7b7ff..6396e09e79f8178042576a4b01b7776a2906cdcb 100644
(file)
--- a/
tests/redirect_003.phpt
+++ b/
tests/redirect_003.phpt
@@
-4,6
+4,7
@@
http_redirect() permanent
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmax(5.0);
?>
--ENV--
HTTP_HOST=localhost
?>
--ENV--
HTTP_HOST=localhost
@@
-11,11
+12,11
@@
HTTP_HOST=localhost
<?php
include 'log.inc';
log_prepare(_REDIR_LOG);
<?php
include 'log.inc';
log_prepare(_REDIR_LOG);
-http_redirect('redirect', null, false,
true
);
+http_redirect('redirect', null, false,
HTTP_REDIRECT_PERM
);
?>
--EXPECTF--
Status: 301
?>
--EXPECTF--
Status: 301
-Content-type:
text/html
+Content-type:
%s
X-Powered-By: PHP/%s
Location: http://localhost/redirect
X-Powered-By: PHP/%s
Location: http://localhost/redirect