summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/network/create-http-header-name-table
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2020-02-25 22:21:50 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2020-02-25 22:24:39 +0300
commitcd875b317ba9ef63f946d2a07b7e67c1e05f93ac (patch)
tree807d09de3cd29ff85cb6ecb0f6ded0271f14e12d /Source/WebCore/platform/network/create-http-header-name-table
parent4f0fa41c49404871e361370baf1cf62029177b94 (diff)
Import QtWebKit commit 887b98440a46eb30f8a1998e930ddd9218934e1e
Change-Id: I87077d70c358887aa76233566c2e864d1eeb8f73 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/WebCore/platform/network/create-http-header-name-table')
-rwxr-xr-xSource/WebCore/platform/network/create-http-header-name-table2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/network/create-http-header-name-table b/Source/WebCore/platform/network/create-http-header-name-table
index 755d22e94..3dc57a568 100755
--- a/Source/WebCore/platform/network/create-http-header-name-table
+++ b/Source/WebCore/platform/network/create-http-header-name-table
@@ -41,7 +41,7 @@ input_file = open(input_path)
http_header_name_to_id = { }
http_header_names = []
-for line in input_file.xreadlines():
+for line in input_file:
http_header_name = line.strip()
if not http_header_name or http_header_name[:2] == '//':
continue