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