Skip to content

Instantly share code, notes, and snippets.

View maglub's full-sized avatar

Magnus Lübeck maglub

View GitHub Profile
@phrawzty
phrawzty / 2serv.py
Last active June 30, 2024 05:39
simple python http server to dump request headers
#!/usr/bin/env python2
import SimpleHTTPServer
import SocketServer
import logging
PORT = 8000
class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):