[Zope-Checkins] CVS: Zope/lib/python/webdav - EtagSupport.py:1.7
   
    Andreas Jung
     
    andreas@digicool.com
       
    Fri, 21 Jun 2002 10:13:54 -0400
    
    
  
Update of /cvs-repository/Zope/lib/python/webdav
In directory cvs.zope.org:/tmp/cvs-serv30502/lib/python/webdav
Modified Files:
	EtagSupport.py 
Log Message:
replaced captitalization code for header by .title()
=== Zope/lib/python/webdav/EtagSupport.py 1.6 => 1.7 ===
         matchlist = REQUEST.get_header(header)
         if matchlist is None:
-            # capitalize the words of the header, splitting on '-'
-            tmp = [x.capitalize() for x in  header.split('-')]
-            tmp = '-'.join(tmp)
-            matchlist = REQUEST.get_header(tmp)
+            matchlist = REQUEST.get_header(header.title())
             if matchlist is None:
                 return None
         matchlist = [ x.strip() for x in matchlist.split(',')]