Andrey Petrov added the comment:
Once upon a time I wrote a library that did some of this among other things:
http://code.google.com/p/urllib3/
Or specifically:
http://code.google.com/p/urllib3/source/browse/trunk/urllib3/filepost.py
The code was borrowed from some of the recipes mentioned
New submission from Andrey Petrov :
In the SocketServer.UDPServer Example, the second last line:
server = SocketServer.UDPServer((HOST, PORT), BaseUDPRequestHandler)
Should be:
server = SocketServer.UDPServer((HOST, PORT), MyUDPHandler)
--
assignee: georg.brandl
components