#include "ServerProcessor.h" class CORSProcessor : public ServerProcessor { private: std::set ParseHeaderList(const std::string& raw_headers); std::set ParseMethodList(const std::string& raw_headers); public: uns::ResponsePtr Processor(uns::RequestPtr request) override; public: static std::string UrlRegex(); static std::shared_ptr SharedPtr(); };