forked from QPQ-AG/QHL
Merge pull request 'smallfix' (#2) from smallfix into master
Reviewed-on: QPQ-AG/QHL#2
This commit is contained in:
commit
cee4d0bf56
@ -3,5 +3,5 @@
|
|||||||
{registered,[]},
|
{registered,[]},
|
||||||
{included_applications,[]},
|
{included_applications,[]},
|
||||||
{applications,[stdlib,kernel]},
|
{applications,[stdlib,kernel]},
|
||||||
{vsn,"0.2.0"},
|
{vsn,"0.2.1"},
|
||||||
{modules,[qhl]}]}.
|
{modules,[qhl]}]}.
|
||||||
|
|||||||
@ -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 | multipart(),
|
enctype = undefined :: undefined | none | urlencoded | json | 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().
|
-type body() :: {partial, binary()} | {multipart, [body_part()]} | binary() | zj:value().
|
||||||
-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()}.
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(qhl).
|
-module(qhl).
|
||||||
-vsn("0.2.0").
|
-vsn("0.2.1").
|
||||||
-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").
|
||||||
|
|||||||
@ -2,10 +2,10 @@
|
|||||||
{type,lib}.
|
{type,lib}.
|
||||||
{modules,[]}.
|
{modules,[]}.
|
||||||
{prefix,none}.
|
{prefix,none}.
|
||||||
{author,"Craig Everett"}.
|
|
||||||
{desc,"The Quick HTTP Library"}.
|
{desc,"The Quick HTTP Library"}.
|
||||||
{package_id,{"otpr","qhl",{0,2,0}}}.
|
{author,"Craig Everett"}.
|
||||||
{deps,[]}.
|
{package_id,{"otpr","qhl",{0,2,1}}}.
|
||||||
|
{deps,[{"otpr","zj",{1,1,2}}]}.
|
||||||
{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"}.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user