repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
serviceworker
/
resources
/
progressive.php
blob
3c485fcb2d9c040bd5719925f5fdc5ab5fa7fd94
1
<
?php
2
function
put_chunk
(
$txt
) {
3
echo
sprintf
(
"
%x\r\n
"
,
strlen
(
$txt
));
4
echo
"
$txt\r\n
"
;
5
}
6
7
header
(
"Content-type: application/octet-stream"
);
8
header
(
"Transfer-encoding: chunked"
);
9
flush
();
10
11
for
(
$i
=
0
;
$i
<
100
;
$i
++
) {
12
put_chunk
(
"
$i
"
);
13
ob_flush
();
14
flush
();
15
usleep
(
1000
);
16
}
17
echo
"0
\r\n\r\n
"
;
18
?
>