Commit 1db2b8b2 authored by Andreas Jung's avatar Andreas Jung

- Collector #2122: fixed missing is_proxying_match definition

        in ZServer/HTTPServer
parent 8995535f
......@@ -24,3 +24,5 @@ Zope Changes
Bugs Fixed
- Collector #2122: fixed missing is_proxying_match definition
in ZServer/HTTPServer
......@@ -63,6 +63,9 @@ CONTENT_LENGTH = re.compile('Content-Length: ([0-9]+)',re.I)
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',
......
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