Sign in
◑
Theme
apache
/
httpd
/
refs/heads/trunk
/
.
/
test
/
modules
/
http3
/
htdocs
/
cgi
/
stream.py
blob: f9431b1a88061f8b917bace533d4d2e74a0c7725 [
file
]
#!/usr/bin/env python3
import
sys
import
time
out
=
sys
.
stdout
.
buffer
out
.
write
(
b
"Content-Type: application/octet-stream\r\n\r\nfirst\n"
)
out
.
flush
()
time
.
sleep
(
2
)
out
.
write
(
b
"second\n"
)