diff options
author | Raimo Niskanen <[email protected]> | 2016-07-14 10:21:12 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-08-08 16:25:12 +0200 |
commit | 67434e928c5d8c5562be5d2912243f49051d19ea (patch) | |
tree | 80d8e6ba990d8cc59764b843fec2f84af6f6bbad /lib/inets/src/http_server | |
parent | f22df15132515022a4ca0a9f7117f893a5ce18db (diff) | |
download | otp-67434e928c5d8c5562be5d2912243f49051d19ea.tar.gz otp-67434e928c5d8c5562be5d2912243f49051d19ea.tar.bz2 otp-67434e928c5d8c5562be5d2912243f49051d19ea.zip |
inets: Unify mod_esi "PUT" callback input
Change it to { Input :: string() | undefined, Body :: string() }
Diffstat (limited to 'lib/inets/src/http_server')
-rw-r--r-- | lib/inets/src/http_server/mod_esi.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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} -> |