tests/hgweberror.py
changeset 36865 3d60a22e27f5
parent 27299 74e6de99ce7f
child 36876 97f44b0720e2
--- a/tests/hgweberror.py	Sat Mar 10 12:11:26 2018 -0800
+++ b/tests/hgweberror.py	Sat Mar 10 12:36:36 2018 -0800
@@ -10,7 +10,7 @@
     '''Dummy web command that raises an uncaught Exception.'''
 
     # Simulate an error after partial response.
-    if 'partialresponse' in req.form:
+    if 'partialresponse' in req.req.qsparams:
         req.respond(200, 'text/plain')
         req.write('partial content\n')