aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_multipart.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_multipart.erl')
-rw-r--r--src/cowboy_multipart.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cowboy_multipart.erl b/src/cowboy_multipart.erl
index 2428b52..26ea84f 100644
--- a/src/cowboy_multipart.erl
+++ b/src/cowboy_multipart.erl
@@ -15,6 +15,9 @@
%% @doc Multipart parser.
-module(cowboy_multipart).
+-export([parser/1]).
+-export([content_disposition/1]).
+
-type part_parser() :: parser(more(part_result())).
-type parser(T) :: fun((binary()) -> T).
-type more(T) :: T | {more, parser(T)}.
@@ -27,8 +30,6 @@
-type end_of_part() :: {end_of_part, cont(more(part_result()))}.
-type disposition() :: {binary(), [{binary(), binary()}]}.
--export([parser/1, content_disposition/1]).
-
-include_lib("eunit/include/eunit.hrl").
%% API.