[Zope-Checkins] CVS: Packages/ZPublisher - Client.py:1.45.66.2

Tres Seaver tseaver at palladion.com
Sun Jun 12 20:41:08 EDT 2005


Update of /cvs-repository/Packages/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv20955/lib/python/ZPublisher

Modified Files:
      Tag: Zope-2_7-branch
	Client.py 
Log Message:


 - Collector #1548: Fix 'httplib' usage in ZPublisher.Client.


=== Packages/ZPublisher/Client.py 1.45.66.1 => 1.45.66.2 ===
--- Packages/ZPublisher/Client.py:1.45.66.1	Mon Nov 17 17:34:19 2003
+++ Packages/ZPublisher/Client.py	Sun Jun 12 20:41:07 2005
@@ -141,8 +141,7 @@
                 )
 
         try:
-            h=HTTP()
-            h.connect(self.host, self.port)
+            h=HTTP(self.host, self.port)
             h.putrequest(method, self.rurl)
             for hn,hv in headers.items():
                 h.putheader(translate(hn,dashtrans),hv)



More information about the Zope-Checkins mailing list