aboutsummaryrefslogtreecommitdiffstats
path: root/include/http.hrl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-12-07 19:27:06 +0100
committerLoïc Hoguin <[email protected]>2011-12-07 19:27:06 +0100
commit7f46e5343625ba32b6e93e6a9a1ba76b4447b7a8 (patch)
tree187043c91714586beff865321c1e70ac000ecefc /include/http.hrl
parentce92ab1e633408b0d6b2d4bb4ba61d965208ef3c (diff)
parentc747efbd7533c3b4dd7caa267070c36608c4c0d2 (diff)
downloadcowboy-7f46e5343625ba32b6e93e6a9a1ba76b4447b7a8.tar.gz
cowboy-7f46e5343625ba32b6e93e6a9a1ba76b4447b7a8.tar.bz2
cowboy-7f46e5343625ba32b6e93e6a9a1ba76b4447b7a8.zip
Merge branch 'noquoted' of https://github.com/klaar/cowboy
Diffstat (limited to 'include/http.hrl')
-rw-r--r--include/http.hrl5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/http.hrl b/include/http.hrl
index d1ca0aa..fd0eecc 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -68,5 +68,8 @@
%% Response.
resp_state = waiting :: locked | waiting | chunks | done,
resp_headers = [] :: http_headers(),
- resp_body = <<>> :: binary()
+ resp_body = <<>> :: binary(),
+
+ %% Functions.
+ urldecode :: {fun((binary(), T) -> binary()), T}
}).