From 6069e2c71328a50c2c42571ad291f291174a99e6 Mon Sep 17 00:00:00 2001 From: David Burns Date: Thu, 14 Jun 2018 18:27:07 +0100 Subject: [PATCH] Bug 1468398: Enable keep-alive connections in wdclient for wdspec tests. r=whimboo MozReview-Commit-ID: IOm4u42ihgR --HG-- extra : rebase_source : 57a4483d6fc37c0875f7db62059746ad12cf3bb8 --- .../web-platform/tests/tools/webdriver/webdriver/transport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/transport.py b/testing/web-platform/tests/tools/webdriver/webdriver/transport.py index 960cb371b853..65be05017f52 100644 --- a/testing/web-platform/tests/tools/webdriver/webdriver/transport.py +++ b/testing/web-platform/tests/tools/webdriver/webdriver/transport.py @@ -144,6 +144,7 @@ class HTTPWireProtocol(object): if headers is None: headers = {} + headers.update({'Connection': 'keep-alive'}) url = self.url(uri)