blob: 3fbec6bd136a92d406bb5ee1367667a021d54f87 [file] [log] [blame]
#!/usr/bin/env python3
import base64
import os
import sys
sys.stdout.write('Content-Type: text/html\r\n\r\n')
if os.environ.get('HTTP_AUTHORIZATION'):
sys.stdout.write(os.environ['HTTP_AUTHORIZATION'])
else:
sys.stdout.write('Missing Authorization header')
sys.stdout.flush()