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:
parent
754d125f35
commit
bec019dce5
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue