projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
fix error in http_get_request_body spottet by rob
[m6w6/ext-http]
/
tests
/
redirect_012_logging.phpt
1
--TEST--
2
logging redirects
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
checkmin("5.2.5");
8
checkext("session");
9
?>
10
--ENV--
11
HTTP_HOST=example.com
12
--FILE--
13
<?php
14
echo "-TEST\n";
15
include 'log.inc';
16
log_content(_REDIR_LOG);
17
echo "Done";
18
?>
19
--EXPECTF--
20
%aTEST
21
%d%d%d%d-%d%d-%d%d %d%d:%d%d:%d%d [302-REDIRECT] Location: http%a <%a>
22
Done