Show More
@@ -185,18 +185,11 b' class _httprequesthandler(httpservermod.' | |||
|
185 | 185 | env['REMOTE_ADDR'] = self.client_address[0] |
|
186 | 186 | env['QUERY_STRING'] = query or '' |
|
187 | 187 | |
|
188 | if pycompat.ispy3: | |
|
189 | 188 |
|
|
190 | 189 |
|
|
191 | 190 |
|
|
192 | 191 |
|
|
193 | 192 |
|
|
194 | else: | |
|
195 | if self.headers.typeheader is None: | |
|
196 | env['CONTENT_TYPE'] = self.headers.type | |
|
197 | else: | |
|
198 | env['CONTENT_TYPE'] = self.headers.typeheader | |
|
199 | length = self.headers.getheader('content-length') | |
|
200 | 193 | if length: |
|
201 | 194 | env['CONTENT_LENGTH'] = length |
|
202 | 195 | for header in [ |
General Comments 0
You need to be logged in to leave comments.
Login now