aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_req.read_part.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual/cowboy_req.read_part.asciidoc')
-rw-r--r--doc/src/manual/cowboy_req.read_part.asciidoc4
1 files changed, 2 insertions, 2 deletions
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.