Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

4 changed files with 7 additions and 7 deletions

View File

@ -3,5 +3,5 @@
{registered,[]}, {registered,[]},
{included_applications,[]}, {included_applications,[]},
{applications,[stdlib,kernel]}, {applications,[stdlib,kernel]},
{vsn,"0.2.1"}, {vsn,"0.2.0"},
{modules,[qhl]}]}. {modules,[qhl]}]}.

View File

@ -6,7 +6,7 @@
version = undefined :: undefined | http10 | http11 | http20, version = undefined :: undefined | http10 | http11 | http20,
headers = undefined :: undefined | [{Key :: binary(), Value :: binary()}], headers = undefined :: undefined | [{Key :: binary(), Value :: binary()}],
cookies = undefined :: undefined | #{Key :: binary() := Value :: binary()}, cookies = undefined :: undefined | #{Key :: binary() := Value :: binary()},
enctype = undefined :: undefined | none | urlencoded | json | multipart(), enctype = undefined :: undefined | none | urlencoded | multipart(),
size = undefined :: undefined | none | non_neg_integer(), size = undefined :: undefined | none | non_neg_integer(),
body = undefined :: undefined | none | body()}). body = undefined :: undefined | none | body()}).
@ -20,6 +20,6 @@
-type method() :: get | post | options. -type method() :: get | post | options.
-type multipart() :: {multipart, Boundary :: binary()}. -type multipart() :: {multipart, Boundary :: binary()}.
-type body() :: {partial, binary()} | {multipart, [body_part()]} | binary() | zj:value(). -type body() :: {partial, binary()} | {multipart, [body_part()]} | binary().
-type body_part() :: {Field :: binary(), Data :: binary()} -type body_part() :: {Field :: binary(), Data :: binary()}
| {Field :: binary(), Name :: binary(), Data :: binary()}. | {Field :: binary(), Name :: binary(), Data :: binary()}.

View File

@ -8,7 +8,7 @@
%%% @end %%% @end
-module(qhl). -module(qhl).
-vsn("0.2.1"). -vsn("0.2.0").
-author("Craig Everett <ceverett@tsuriai.jp>"). -author("Craig Everett <ceverett@tsuriai.jp>").
-copyright("Craig Everett <ceverett@tsuriai.jp>"). -copyright("Craig Everett <ceverett@tsuriai.jp>").
-license("MIT"). -license("MIT").

View File

@ -2,10 +2,10 @@
{type,lib}. {type,lib}.
{modules,[]}. {modules,[]}.
{prefix,none}. {prefix,none}.
{desc,"The Quick HTTP Library"}.
{author,"Craig Everett"}. {author,"Craig Everett"}.
{package_id,{"otpr","qhl",{0,2,1}}}. {desc,"The Quick HTTP Library"}.
{deps,[{"otpr","zj",{1,1,2}}]}. {package_id,{"otpr","qhl",{0,2,0}}}.
{deps,[]}.
{key_name,none}. {key_name,none}.
{a_email,"zxq9@zxq9.com"}. {a_email,"zxq9@zxq9.com"}.
{c_email,"zxq9@zxq9.com"}. {c_email,"zxq9@zxq9.com"}.