From ec00e3d60e985e00c6b425434af5017c634801db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Fri, 9 Jun 2017 16:57:11 +0200
Subject: Make cowboy_req:read_part return multipart headers as map

---
 doc/src/manual/cowboy_req.read_part.asciidoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'doc/src/manual/cowboy_req.read_part.asciidoc')

diff --git a/doc/src/manual/cowboy_req.read_part.asciidoc b/doc/src/manual/cowboy_req.read_part.asciidoc
index 0d689d8..fd21d4a 100644
--- a/doc/src/manual/cowboy_req.read_part.asciidoc
+++ b/doc/src/manual/cowboy_req.read_part.asciidoc
@@ -15,7 +15,7 @@ read_part(Req :: cowboy_req:req(), Opts)
     -> {ok, Headers, Req} | {done, Req}
 
 Opts    :: cowboy_req:read_body_opts()
-Headers :: cow_multipart:headers()
+Headers :: #{binary() => binary()}
 ----
 
 Read the next part of a multipart body.
@@ -70,7 +70,7 @@ to 5 seconds.
 == Return value
 
 An `ok` tuple is returned containing the next part's headers
-as a list of key/values.
+as a map.
 
 A `done` tuple is returned if there are no more parts to read.
 
-- 
cgit v1.2.3

