Show More
@@ -165,7 +165,7 b' class _httprequesthandler(httpservermod.' | |||
|
165 | 165 | if length: |
|
166 | 166 | env[r'CONTENT_LENGTH'] = length |
|
167 | 167 | for header in [h for h in self.headers.keys() |
|
168 |
|
|
|
168 | if h.lower() not in (r'content-type', r'content-length')]: | |
|
169 | 169 | hkey = r'HTTP_' + header.replace(r'-', r'_').upper() |
|
170 | 170 | hval = self.headers.get(header) |
|
171 | 171 | hval = hval.replace(r'\n', r'').strip() |
General Comments 0
You need to be logged in to leave comments.
Login now