mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 13:10:24 +00:00
Separate multipart from body_state
This commit is contained in:
parent
79839b7bb5
commit
4040a9f72d
3 changed files with 10 additions and 16 deletions
|
@ -39,8 +39,8 @@
|
|||
meta = [] :: [{atom(), any()}],
|
||||
|
||||
%% Request body.
|
||||
body_state = waiting :: waiting | done | {stream, fun(), any(), fun()}
|
||||
| {multipart, non_neg_integer(), fun()},
|
||||
body_state = waiting :: waiting | done | {stream, fun(), any(), fun()},
|
||||
multipart = undefined :: undefined | {non_neg_integer(), fun()},
|
||||
buffer = <<>> :: binary(),
|
||||
|
||||
%% Response.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue