mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Avoid Python's HTTP server automatic redirect that appends / after the query string. Fixes #11843.
This commit is contained in:
parent
a0a62ed3fd
commit
43cafcbb40
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ TEST_SERVER_PORT = 8192
|
||||||
|
|
||||||
# Run servo and print / parse the results for a specific Dromaeo module.
|
# Run servo and print / parse the results for a specific Dromaeo module.
|
||||||
def run_servo(servo_exe, tests):
|
def run_servo(servo_exe, tests):
|
||||||
url = "http://localhost:{0}/dromaeo/web/?{1}&automated&post_json".format(TEST_SERVER_PORT, tests)
|
url = "http://localhost:{0}/dromaeo/web/index.html?{1}&automated&post_json".format(TEST_SERVER_PORT, tests)
|
||||||
args = [servo_exe, url, "-z", "-f"]
|
args = [servo_exe, url, "-z", "-f"]
|
||||||
return subprocess.Popen(args)
|
return subprocess.Popen(args)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue