From ab4878838fafbd453b41d031c9224b2ee8d2d956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 6 Jan 2019 17:01:41 +0100 Subject: Lowercase header names automatically and accept more types Header names can now be provided as binary, string or atom and Gun no longer requires them to be in lowercase. The list of headers can also be provided as a map as well. --- doc/src/guide/introduction.asciidoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'doc/src/guide') diff --git a/doc/src/guide/introduction.asciidoc b/doc/src/guide/introduction.asciidoc index 374f1f3..fa0e6c6 100644 --- a/doc/src/guide/introduction.asciidoc +++ b/doc/src/guide/introduction.asciidoc @@ -46,7 +46,4 @@ In the HTTP protocol, the method name is case sensitive. All standard method names are uppercase. Header names are case insensitive. Gun converts all the header names -to lowercase, and expects your application to provide lowercase header -names. - -The same applies to any other case insensitive value. +to lowercase, including request headers provided by your application. -- cgit v1.2.3