projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
coverity fix
[m6w6/ext-http]
/
tests
/
envresponse018.phpt
1
--TEST--
2
env response don't generate stat based etag for temp stream
3
--SKIPIF--
4
<?php
5
include "skipif.inc";
6
?>
7
--FILE--
8
<?php
9
echo "Test\n";
10
11
$b = new http\Message\Body(fopen("php://temp/maxmemory:8", "r+"));
12
$b->append("1234567890\n");
13
14
$r = new http\Env\Response;
15
$r->setBody($b);
16
$r->send(STDOUT);
17
18
?>
19
===DONE===
20
--EXPECTF--
21
Test
22
HTTP/1.1 200 OK
23
Accept-Ranges: bytes
24
ETag: "%x"
25
Last-Modified: %s
26
Transfer-Encoding: chunked
27
28
b
29
1234567890
30
31
0
32
33
===DONE===