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/guide/multipart.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/src/guide/multipart.asciidoc')

diff --git a/doc/src/guide/multipart.asciidoc b/doc/src/guide/multipart.asciidoc
index 77d263a..756d3b4 100644
--- a/doc/src/guide/multipart.asciidoc
+++ b/doc/src/guide/multipart.asciidoc
@@ -102,7 +102,7 @@ multipart(Req0) ->
                 {data, _FieldName} ->
                     {ok, _Body, Req2} = cowboy_req:read_part_body(Req1),
                     Req2;
-                {file, _FieldName, _Filename, _CType, _CTransferEncoding} ->
+                {file, _FieldName, _Filename, _CType} ->
                     stream_file(Req1)
             end,
             multipart(Req);
-- 
cgit v1.2.3

