Show More
@@ -328,10 +328,7 b' def _handlehttperror(e, wsgireq, cmd):' | |||
|
328 | 328 | if (wsgireq.env[r'REQUEST_METHOD'] == r'POST' and |
|
329 | 329 | # But not if Expect: 100-continue is being used. |
|
330 | 330 | (wsgireq.env.get('HTTP_EXPECT', |
|
331 |
'').lower() != '100-continue') |
|
|
332 | # Or the non-httplib HTTP library is being advertised by | |
|
333 | # the client. | |
|
334 | wsgireq.env.get('X-HgHttp2', '')): | |
|
331 | '').lower() != '100-continue')): | |
|
335 | 332 | wsgireq.drain() |
|
336 | 333 | else: |
|
337 | 334 | wsgireq.headers.append((r'Connection', r'Close')) |
General Comments 0
You need to be logged in to leave comments.
Login now