mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
This commit is contained in:
parent
11ed60cafb
commit
fb657480c3
7 changed files with 243 additions and 38 deletions
11
scripts/lua/modules/http_utils.lua
Normal file
11
scripts/lua/modules/http_utils.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--
|
||||
-- (C) 2014-22 - ntop.org
|
||||
--
|
||||
|
||||
local http_utils = {}
|
||||
|
||||
function http_utils.getResponseStatusCode(return_code)
|
||||
return(i18n("http_info.return_codes." .. tostring(return_code)) or return_code)
|
||||
end
|
||||
|
||||
return http_utils
|
||||
Loading…
Add table
Add a link
Reference in a new issue