mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Added NOTFOUND response status code. Added default user value 'user'.
This commit is contained in:
@@ -66,6 +66,7 @@ Error = {
|
|||||||
OK = 200,
|
OK = 200,
|
||||||
UNAUTHORIZED = 401,
|
UNAUTHORIZED = 401,
|
||||||
FORBIDDEN = 403,
|
FORBIDDEN = 403,
|
||||||
|
NOTFOUND = 404,
|
||||||
PROXY_AUTH_REQUIRED = 407,
|
PROXY_AUTH_REQUIRED = 407,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,6 +79,7 @@ SessionData = {
|
|||||||
local o = o or {}
|
local o = o or {}
|
||||||
setmetatable(o, self)
|
setmetatable(o, self)
|
||||||
self.__index = self
|
self.__index = self
|
||||||
|
o.user = "user"
|
||||||
return o
|
return o
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user