aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cow_cookie.erl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cow_cookie.erl b/src/cow_cookie.erl
index 4b1dbd3..2ee0a19 100644
--- a/src/cow_cookie.erl
+++ b/src/cow_cookie.erl
@@ -14,10 +14,7 @@
-module(cow_cookie).
-%% Parse.
-export([parse_cookie/1]).
-
-%% Build.
-export([setcookie/3]).
-type cookie_option() :: {max_age, non_neg_integer()}
@@ -26,8 +23,6 @@
-type cookie_opts() :: [cookie_option()].
-export_type([cookie_opts/0]).
-%% Parse.
-
%% @doc Parse a cookie header string and return a list of key/values.
-spec parse_cookie(binary()) -> [{binary(), binary()}] | {error, badarg}.
@@ -151,8 +146,6 @@ parse_cookie_test_() ->
[{V, fun() -> R = parse_cookie(V) end} || {V, R} <- Tests].
-endif.
-%% Build.
-
%% @doc Convert a cookie name, value and options to its iodata form.
%% @end
%%