[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/HTTP - PublisherHTTPServer.py:1.3

Jim Fulton jim@zope.com
Thu, 13 Jun 2002 19:15:46 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Server/HTTP
In directory cvs.zope.org:/tmp/cvs-serv10697/lib/python/Zope/Server/HTTP

Modified Files:
	PublisherHTTPServer.py 
Log Message:
Got icons working, and, along the way:

- Implemented the icon directive

- Implemented
  http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ResourcesProposal

- Added a special view, named '', for service manager containers that
  allows resources to have URLs like:

  http://foo.com/@@/resourcename

- Fixed some server code that caused HTTP response data to get
  promoted to unicode

- Updated the folder contents page to display icons.

- Ported icons for folder, file, image, and zptpage. Many more icons
  need to be ported or created.



=== Zope3/lib/python/Zope/Server/HTTP/PublisherHTTPServer.py 1.2 => 1.3 ===
 
     def __init__(self, request_factory, sub_protocol=None, *args, **kw):
+        sub_protocol = str(sub_protocol)
+
         self.request_factory = request_factory
 
         # An HTTP server is not limited to server up HTML; it can be