aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-21 17:26:00 +0100
committerLoïc Hoguin <[email protected]>2011-03-21 17:47:17 +0100
commit8b02992e6abd63eab0aafe0d762c38dbbbb757b5 (patch)
tree31e93989da6065739ac3389073043553430bb63d /include
parente40001a8843dbb802331a422c78ce65d7c660484 (diff)
downloadcowboy-8b02992e6abd63eab0aafe0d762c38dbbbb757b5.tar.gz
cowboy-8b02992e6abd63eab0aafe0d762c38dbbbb757b5.tar.bz2
cowboy-8b02992e6abd63eab0aafe0d762c38dbbbb757b5.zip
Skip the request body if it hasn't been read by the handler.
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/http.hrl b/include/http.hrl
index e0fe4f6..e4b9716 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -32,6 +32,9 @@
headers = [] :: http_headers(),
%% cookies = undefined :: undefined | http_cookies() %% @todo
+ %% Request body.
+ body_state = waiting :: waiting | done,
+
%% Response.
resp_state = locked :: locked | waiting | done
}).