Can you run httplib.py as a script? There's a bit of test code that is run if __name__ == "__main__". I've made a bunch of changes to httplib recently, but haven't tested then on Windows. Jeremy