Skip to content

Instantly share code, notes, and snippets.

@meganehouser
meganehouser / httpd.py
Created February 29, 2020 14:07 — forked from daimatz/httpd.py
SimpleHTTPServer with custom headers (Python3)
#!/usr/bin/env python3
import sys
from http.server import (
SimpleHTTPRequestHandler,
HTTPServer,
test,
)