[Zope-Checkins] SVN: Zope/trunk/ - Collector #2122: fixed missing
is_proxying_match definition
Andreas Jung
andreas at andreas-jung.com
Sat Jun 10 09:21:54 EDT 2006
Log message for revision 68564:
- Collector #2122: fixed missing is_proxying_match definition
in ZServer/HTTPServer
Changed:
U Zope/trunk/doc/CHANGES.txt
U Zope/trunk/lib/python/ZServer/HTTPServer.py
-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt 2006-06-10 13:21:05 UTC (rev 68563)
+++ Zope/trunk/doc/CHANGES.txt 2006-06-10 13:21:54 UTC (rev 68564)
@@ -24,3 +24,5 @@
Bugs Fixed
+ - Collector #2122: fixed missing is_proxying_match definition
+ in ZServer/HTTPServer
Modified: Zope/trunk/lib/python/ZServer/HTTPServer.py
===================================================================
--- Zope/trunk/lib/python/ZServer/HTTPServer.py 2006-06-10 13:21:05 UTC (rev 68563)
+++ Zope/trunk/lib/python/ZServer/HTTPServer.py 2006-06-10 13:21:54 UTC (rev 68564)
@@ -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',
More information about the Zope-Checkins
mailing list