From 778ac92469d66c542c3c12fe0aa23703dd6315c2 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Mon, 10 May 2021 15:27:50 +0100 Subject: [PATCH] docs: mention lowercasing of HTTP headers (#7224) --- docs/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.md b/docs/api.md index 9bcfe31f38e..bcb114e888a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -2189,6 +2189,8 @@ This setting will change the default maximum time for the following methods and The extra HTTP headers will be sent with every request the page initiates. +> **NOTE** All HTTP header names are lowercased. (HTTP headers are case-insensitive, so this shouldn’t impact your server code.) + > **NOTE** page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing requests. #### page.setGeolocation(options)