aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-09-15 00:59:49 +0200
committerLoïc Hoguin <[email protected]>2012-09-15 00:59:49 +0200
commit4040a9f72d080786f59533c398e2e5662087d92d (patch)
tree34dd4a041572ef84391d188a2d4ef5a0e7784d5a /include
parent79839b7bb5ae3aef77eb7ab704efa6168927845f (diff)
downloadcowboy-4040a9f72d080786f59533c398e2e5662087d92d.tar.gz
cowboy-4040a9f72d080786f59533c398e2e5662087d92d.tar.bz2
cowboy-4040a9f72d080786f59533c398e2e5662087d92d.zip
Separate multipart from body_state
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/http.hrl b/include/http.hrl
index 5440d8f..e2a130b 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -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.