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