Sign in
webkit
/
WebKit
/
2a0aecef68e2ca0674a52b051412def7e6b01404
/
.
/
LayoutTests
/
http
/
tests
/
ssl
/
verify-ssl-enabled.py
blob: e14c7f4214867aab53b668f5502ea0e7661b4901 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
os
import
sys
https
=
os
.
environ
.
get
(
'HTTPS'
)
sys
.
stdout
.
write
(
'Content-Type: text/html\r\n\r\n'
'<script>\n'
'if (window.testRunner)\n'
' testRunner.dumpAsText();\n'
'</script>\n'
'HTTPS is {}!\n'
.
format
(
https
)
)