blob: 69ffb39e100dfaf953cb4f7c4cd5e066528b0916 [file] [log] [blame]
#!/usr/bin/env python3
import os
import sys
referer = os.environ.get('HTTP_REFERER', '')
sys.stdout.write('Content-Type: text/css\r\n\r\n')
if not referer:
sys.stdout.write('body { background-color: green; }')
else:
sys.stdout.write('body { background-color: red; }')