view src/admin/request.txt.luan @ 13:94b5c7b54978

rm only logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 28 Jul 2022 16:23:57 +0300
parents dfc36e7ed22c
children
line wrap: on
line source

local Binary = require "luan:Binary.luan"
local Io = require "luan:Io.luan"
local Http = require "luan:http/Http.luan"


return function()
	Io.stdout = Http.response.text_writer()
	%><%= Http.request.raw_head %><%
	if Http.request.body ~= nil then
		%><%=Binary.to_string(Http.request.body,"utf-8")%><%
	end
end