diff options
author | Tanous <ed.tanous@intel.com> | 2018-11-05 01:18:10 -0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-04-01 17:01:41 +0000 |
commit | f00032db72e7ee88946bb4839b5d5311a3e092b3 (patch) | |
tree | 5bc236c459831bd33a5e8fcaeb60e74b966798a9 /include/http_utility.hpp | |
parent | 20e6ea5dbfaa04f4298116281ddfb997847189ce (diff) | |
download | bmcweb-f00032db72e7ee88946bb4839b5d5311a3e092b3.tar.gz bmcweb-f00032db72e7ee88946bb4839b5d5311a3e092b3.zip |
Allow multiple registrations
This patchset is the beginings of the infrastructure to allow
separate registrations, and map privileges to the actual node in the
url table rather than having each registration manage privileges
manually.
Tested by:
Running redfish compliance tool. All things still pass.
Change-Id: I72d278cc19c60ba5b6e563fbd705b0551faf9a6a
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'include/http_utility.hpp')
-rw-r--r-- | include/http_utility.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/http_utility.hpp b/include/http_utility.hpp index e2b1a11..b20952b 100644 --- a/include/http_utility.hpp +++ b/include/http_utility.hpp @@ -1,6 +1,8 @@ #pragma once #include <boost/algorithm/string.hpp> +#include "crow/http_request.h" + namespace http_helpers { inline bool requestPrefersHtml(const crow::Request& req) |