mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
In HTTP::Status (status.hpp), added 412 PreconditionFailed.
This commit is contained in:
parent
fb753bc008
commit
959fce9cae
@ -35,6 +35,7 @@ namespace openvpn {
|
||||
Forbidden=403,
|
||||
NotFound=404,
|
||||
ProxyAuthenticationRequired=407,
|
||||
PreconditionFailed=412,
|
||||
InternalServerError=500,
|
||||
ProxyError=502,
|
||||
ServiceUnavailable=503,
|
||||
@ -56,6 +57,8 @@ namespace openvpn {
|
||||
return "Not Found";
|
||||
case ProxyAuthenticationRequired:
|
||||
return "Proxy Authentication Required";
|
||||
case PreconditionFailed:
|
||||
return "Precondition Failed";
|
||||
case InternalServerError:
|
||||
return "Internal Server Error";
|
||||
case ProxyError:
|
||||
|
Loading…
Reference in New Issue
Block a user