Commit 01bea740 authored by Andreas Jung's avatar Andreas Jung

- Collector #2122: fixed missing is_proxying_match definition

        in ZServer/HTTPServer
parent bb57aa53
...@@ -26,6 +26,9 @@ Zope Changes ...@@ -26,6 +26,9 @@ Zope Changes
- Collector #2116: sequence.sort() did not work properly - Collector #2116: sequence.sort() did not work properly
locale related comparison methods locale related comparison methods
- Collector #2122: fixed missing is_proxying_match definition
in ZServer/HTTPServer
Zope 2.10.0 beta 1 (2006/05/30) Zope 2.10.0 beta 1 (2006/05/30)
......
...@@ -63,6 +63,9 @@ CONTENT_LENGTH = re.compile('Content-Length: ([0-9]+)',re.I) ...@@ -63,6 +63,9 @@ CONTENT_LENGTH = re.compile('Content-Length: ([0-9]+)',re.I)
CONNECTION = re.compile('Connection: (.*)', re.I) CONNECTION = re.compile('Connection: (.*)', re.I)
USER_AGENT = re.compile('User-Agent: (.*)', re.I) USER_AGENT = re.compile('User-Agent: (.*)', re.I)
is_proxying_match = re.compile(r'[^ ]* [^ \\]*:').match
# maps request some headers to environment variables. # maps request some headers to environment variables.
# (those that don't start with 'HTTP_') # (those that don't start with 'HTTP_')
header2env={'content-length' : 'CONTENT_LENGTH', header2env={'content-length' : 'CONTENT_LENGTH',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment