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 December 21, 2024 21:30
simple python http server to dump request headers
#!/usr/bin/env python2
import SimpleHTTPServer
import SocketServer
import logging
PORT = 8000
class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):