Skip to content

v0.2.54..v0.2.55 changeset HootNetworkUtils.h

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/util/HootNetworkUtils.h b/hoot-core/src/main/cpp/hoot/core/util/HootNetworkUtils.h
index cc19fb7..5139291 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/HootNetworkUtils.h
+++ b/hoot-core/src/main/cpp/hoot/core/util/HootNetworkUtils.h
@@ -33,15 +33,16 @@ namespace hoot
 
 namespace HttpResponseCode
 {
-  const int HTTP_OK                    = 200;
-  const int HTTP_BAD_REQUEST           = 400;
-  const int HTTP_NOT_FOUND             = 404;
-  const int HTTP_METHOD_NOT_ALLOWED    = 405;
-  const int HTTP_CONFLICT              = 409;
-  const int HTTP_PRECONDITION_FAILED   = 412;
-  const int HTTP_INTERNAL_SERVER_ERROR = 500;
-  const int HTTP_BAD_GATEWAY           = 502;
-  const int HTTP_GATEWAY_TIMEOUT       = 504;
+  const int HTTP_OK                     = 200;
+  const int HTTP_BAD_REQUEST            = 400;
+  const int HTTP_UNAUTHORIZED           = 401;
+  const int HTTP_NOT_FOUND              = 404;
+  const int HTTP_METHOD_NOT_ALLOWED     = 405;
+  const int HTTP_CONFLICT               = 409;
+  const int HTTP_PRECONDITION_FAILED    = 412;
+  const int HTTP_INTERNAL_SERVER_ERROR  = 500;
+  const int HTTP_BAD_GATEWAY            = 502;
+  const int HTTP_GATEWAY_TIMEOUT        = 504;
 }
 
 class HootNetworkUtils
Clone this wiki locally