docs: mention lowercasing of HTTP headers (#7224)

This commit is contained in:
Tim van der Lippe 2021-05-10 15:27:50 +01:00 committed by GitHub
parent 25ad7402e9
commit 778ac92469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. 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 shouldnt impact your server code.)
> **NOTE** page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing requests. > **NOTE** page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing requests.
#### page.setGeolocation(options) #### page.setGeolocation(options)