Sign in
apache
/
whimsy
/
dc688d87404a64a467ca1a797501bae2c8cd2588
/
.
/
www
/
infra
/
chunktest.cgi
blob: a39aaa2b3318136a3c5f42259175d126861e836c [
file
] [
log
] [
blame
]
#!/usr/bin/env ruby
# Test for asfpy chunking
require
'json'
print
"Content-type: text/plain; charset=UTF-8\r\n\r\n"
$stdout
.
sync
=
true
data
=
{
data
:
'1234567890'
*
2000
}
out
=
JSON
.
generate
(
data
)+
"\n"
3.times
do
print
out
sleep
5
end