Show More
@@ -130,11 +130,12 b' class _httprequesthandler(httpservermod.' | |||||
130 | if query: |
|
130 | if query: | |
131 | env[r'QUERY_STRING'] = query |
|
131 | env[r'QUERY_STRING'] = query | |
132 |
|
132 | |||
133 | if self.headers.typeheader is None: |
|
133 | if True: | |
134 |
|
|
134 | if self.headers.typeheader is None: | |
135 | else: |
|
135 | env[r'CONTENT_TYPE'] = self.headers.type | |
136 | env[r'CONTENT_TYPE'] = self.headers.typeheader |
|
136 | else: | |
137 | length = self.headers.getheader('content-length') |
|
137 | env[r'CONTENT_TYPE'] = self.headers.typeheader | |
|
138 | length = self.headers.getheader('content-length') | |||
138 | if length: |
|
139 | if length: | |
139 | env[r'CONTENT_LENGTH'] = length |
|
140 | env[r'CONTENT_LENGTH'] = length | |
140 | for header in [h for h in self.headers.keys() |
|
141 | for header in [h for h in self.headers.keys() |
General Comments 0
You need to be logged in to leave comments.
Login now