summaryrefslogtreecommitdiff
path: root/http/verb.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/verb.hpp')
-rw-r--r--http/verb.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/http/verb.hpp b/http/verb.hpp
index 5859d10b0d..dd5af4024d 100644
--- a/http/verb.hpp
+++ b/http/verb.hpp
@@ -2,7 +2,6 @@
#include <boost/beast/http/verb.hpp>
-#include <iostream>
#include <optional>
#include <string_view>
@@ -20,12 +19,6 @@ enum class HttpVerb
static constexpr size_t maxVerbIndex = static_cast<size_t>(HttpVerb::Max) - 1U;
-// MaxVerb + 1 is designated as the "not found" verb. It is done this way
-// to keep the BaseRule as a single bitfield (thus keeping the struct small)
-// while still having a way to declare a route a "not found" route.
-static constexpr const size_t notFoundIndex = maxVerbIndex + 1;
-static constexpr const size_t methodNotAllowedIndex = notFoundIndex + 1;
-
inline std::optional<HttpVerb> httpVerbFromBoost(boost::beast::http::verb bv)
{
switch (bv)