mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Added NOTFOUND response status code. Added default user value 'user'.
This commit is contained in:
parent
bfeecd1895
commit
348cfc9d25
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ Error = {
|
|||
OK = 200,
|
||||
UNAUTHORIZED = 401,
|
||||
FORBIDDEN = 403,
|
||||
NOTFOUND = 404,
|
||||
PROXY_AUTH_REQUIRED = 407,
|
||||
}
|
||||
|
||||
|
|
@ -78,6 +79,7 @@ SessionData = {
|
|||
local o = o or {}
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
o.user = "user"
|
||||
return o
|
||||
end,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue