diff options
author | Loïc Hoguin <[email protected]> | 2017-01-02 14:20:15 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-01-02 14:46:19 +0100 |
commit | 271e31c629be2dff93d68e01c9a8a9c5c34b7e2c (patch) | |
tree | b20ba4f01a174479c1cde0d7abb610dbfa757d05 /doc/src/guide/multipart.asciidoc | |
parent | 5838a0c81a978377084b33fd086de10f9775f425 (diff) | |
download | cowboy-271e31c629be2dff93d68e01c9a8a9c5c34b7e2c.tar.gz cowboy-271e31c629be2dff93d68e01c9a8a9c5c34b7e2c.tar.bz2 cowboy-271e31c629be2dff93d68e01c9a8a9c5c34b7e2c.zip |
Various fixes and tweaks to the user guide
Diffstat (limited to 'doc/src/guide/multipart.asciidoc')
-rw-r--r-- | doc/src/guide/multipart.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/multipart.asciidoc b/doc/src/guide/multipart.asciidoc index 630b210..77d263a 100644 --- a/doc/src/guide/multipart.asciidoc +++ b/doc/src/guide/multipart.asciidoc @@ -146,7 +146,7 @@ all bodies: [source,erlang] ---- multipart(Req0) -> - case cowboy_req:part(Req0) of + case cowboy_req:read_part(Req0) of {ok, _Headers, Req} -> multipart(Req); {done, Req} -> |