Log message for revision 68563: - Collector #2122: fixed missing is_proxying_match definition in ZServer/HTTPServer
Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/ZServer/HTTPServer.py -=- Modified: Zope/branches/2.10/doc/CHANGES.txt =================================================================== --- Zope/branches/2.10/doc/CHANGES.txt 2006-06-09 23:31:08 UTC (rev 68562) +++ Zope/branches/2.10/doc/CHANGES.txt 2006-06-10 13:21:05 UTC (rev 68563) @@ -26,7 +26,10 @@ - Collector #2116: sequence.sort() did not work properly locale related comparison methods + - Collector #2122: fixed missing is_proxying_match definition + in ZServer/HTTPServer + Zope 2.10.0 beta 1 (2006/05/30) Restructuring Modified: Zope/branches/2.10/lib/python/ZServer/HTTPServer.py =================================================================== --- Zope/branches/2.10/lib/python/ZServer/HTTPServer.py 2006-06-09 23:31:08 UTC (rev 68562) +++ Zope/branches/2.10/lib/python/ZServer/HTTPServer.py 2006-06-10 13:21:05 UTC (rev 68563) @@ -63,6 +63,9 @@ CONNECTION = re.compile('Connection: (.*)', re.I) USER_AGENT = re.compile('User-Agent: (.*)', re.I) +is_proxying_match = re.compile(r'[^ ]* [^ \\]*:').match + + # maps request some headers to environment variables. # (those that don't start with 'HTTP_') header2env={'content-length' : 'CONTENT_LENGTH', _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins