[Zope3-checkins] CVS: Zope3/src/zope/publisher/interfaces - http.py:1.7

Steve Alexander steve@cat-box.net
Fri, 28 Feb 2003 09:21:27 -0500


Update of /cvs-repository/Zope3/src/zope/publisher/interfaces
In directory cvs.zope.org:/tmp/cvs-serv31752/src/zope/publisher/interfaces

Modified Files:
	http.py 
Log Message:
Cleaned up some formatting.
Changed some uses of 1 and 0 as boolean values into True and False.


=== Zope3/src/zope/publisher/interfaces/http.py 1.6 => 1.7 ===
--- Zope3/src/zope/publisher/interfaces/http.py:1.6	Thu Feb 27 03:11:34 2003
+++ Zope3/src/zope/publisher/interfaces/http.py	Fri Feb 28 09:21:26 2003
@@ -150,13 +150,13 @@
         """)
 
 
-    def getURL(level=0, path_only=0):
+    def getURL(level=0, path_only=False):
         """Return the published URL with level names removed from the end.
 
         If path_only is true, then only a path will be returned.
         """
 
-    def getApplicationURL(depth=0, path_only=0):
+    def getApplicationURL(depth=0, path_only=False):
         """Return the application URL plus depth steps
 
         If path_only is true, then only a path will be returned.
@@ -242,7 +242,7 @@
         correct integer value.
         """
 
-    def setHeader(name, value, literal=0):
+    def setHeader(name, value, literal=False):
         """Sets an HTTP return header "name" with value "value"
 
         The previous value is cleared. If the literal flag is true,