Sign in
◑
Theme
apache
/
httpd
/
refs/heads/trunk
/
.
/
test
/
modules
/
http3
/
htdocs
/
cgi
/
env.py
blob: d748fdd7f11c9265eeb3061d1abf412fe540659b [
file
]
#!/usr/bin/env python3
import
json
import
os
import
sys
body
=
json
.
dumps
(
dict
(
os
.
environ
)).
encode
()
sys
.
stdout
.
buffer
.
write
(
b
"Content-Type: application/json\r\n\r\n"
+
body
)