Sign in
webkit
/
WebKit
/
eed77a11249751f1b57a22699bda54381a2f6123
/
.
/
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
)
)