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/manual/gun.get.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src/manual/gun.get.asciidoc') diff --git a/doc/src/manual/gun.get.asciidoc b/doc/src/manual/gun.get.asciidoc index 623c038..64feeab 100644 --- a/doc/src/manual/gun.get.asciidoc +++ b/doc/src/manual/gun.get.asciidoc @@ -19,7 +19,7 @@ get(ConnPid, Path, Headers, ReqOpts) ConnPid :: pid() Path :: iodata() -Headers :: [{binary(), iodata()}] +Headers :: gun:req_headers() ReqOpts :: gun:req_opts() StreamRef :: reference() ---- -- cgit v1.2.3