bmcweb: Clean up security headers
Inline strings make this patchset easier to read, and idenfity where
we're adding headers. Also, in the cases where we're using common keys,
passing it by boost::beast::http::field helps us avoid some dict
lookups. These performance improvements are largely hypothetical, as it
would be unlikely we'd ever measure a real difference.
Change-Id: Ic931c4454a5f40c0d206bb4df09058f8f61fc0e2
Signed-off-by:
Ed Tanous <ed.tanous@intel.com>
Loading
Please register or sign in to comment