Skip to content

Instantly share code, notes, and snippets.

View wonjohnchoi's full-sized avatar

Wonjohn Choi wonjohnchoi

View GitHub Profile
@wonjohnchoi
wonjohnchoi / SimpleAuthServer.py
Last active August 26, 2015 06:32 — forked from fxsjy/SimpleAuthServer.py
SimpleAuthServer: A SimpleHTTPServer with authentication
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 May 16, 2023 05:49 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python File Server With Browse, Upload, and Authentication
README.html