From 67434e928c5d8c5562be5d2912243f49051d19ea Mon Sep 17 00:00:00 2001 From: Raimo Niskanen Date: Thu, 14 Jul 2016 10:21:12 +0200 Subject: inets: Unify mod_esi "PUT" callback input Change it to { Input :: string() | undefined, Body :: string() } --- lib/inets/src/http_server/mod_esi.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inets/src/http_server/mod_esi.erl b/lib/inets/src/http_server/mod_esi.erl index 4524bac2d9..b21af1418c 100644 --- a/lib/inets/src/http_server/mod_esi.erl +++ b/lib/inets/src/http_server/mod_esi.erl @@ -278,7 +278,7 @@ erl(#mod{method = "PUT", entity_body = Body} = ModData, {ok, [FunctionName]} -> generate_webpage(ModData, ESIBody, Modules, list_to_atom(ModuleName), - FunctionName, Body, + FunctionName, {undefined,Body}, [{entity_body, Body} | script_elements(FuncAndInput, "")]); {ok, BadRequest} -> -- cgit v1.2.3