Skip to content

Instantly share code, notes, and snippets.

Avatar

Wonjohn Choi wonjohnchoi

View GitHub Profile
@wonjohnchoi
wonjohnchoi / SimpleAuthServer.py
Last active Aug 26, 2015 — forked from fxsjy/SimpleAuthServer.py
SimpleAuthServer: A SimpleHTTPServer with authentication
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):
@wonjohnchoi
wonjohnchoi / .gitignore
Last active Jul 22, 2020 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python File Server With Browse, Upload, and Authentication
View .gitignore
README.html