I\'ve set up a little script that should feed a client with html.
import socket sock = socket.socket() sock.bind((\'\', 8080)) sock.listen(5) client, adress = s
webob does the dirty http details for you as well
from webob import Response .... client.send(str(Response("")))