0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Clarify a multipart example

This commit is contained in:
Loïc Hoguin 2017-09-27 18:54:51 +02:00
parent 754d125f35
commit bec019dce5
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

@ -112,9 +112,9 @@ multipart(Req0) ->
stream_file(Req0) ->
case cowboy_req:read_part_body(Req0) of
{ok, _Body, Req} ->
{ok, _LastBodyChunk, Req} ->
Req;
{more, _Body, Req} ->
{more, _BodyChunk, Req} ->
stream_file(Req)
end.
----