luci-lib-base: forward luci.http.context.request.message to ucode

Some existing LuCI application code accesses the
`luci.http.context.request.message.params` HTTP parameter table directly.

Forward the `luci.http.context.request.message` object to the ucode
`luci.http.message` instance in order to properly support this.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2022-09-19 14:20:27 +02:00
parent d9dcefd2aa
commit cea2c3578e

View file

@ -140,5 +140,6 @@ context = {
content = function(self, ...) return content(...) end;
getcookie = function(self, ...) return getcookie(...) end;
setfilehandler = function(self, ...) return setfilehandler(...) end;
message = L.http.message
}
}