Skip to content

Instantly share code, notes, and snippets.

Avatar

esotericnomen esotericnomen

View GitHub Profile
View SimpleAuthServer.py
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
import sys
import base64
key = ""
class AuthHandler(SimpleHTTPRequestHandler):
''' Main class to present webpages and authentication. '''
def do_HEAD(self):
You can’t perform that action at this time.