upload
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "ServerProcessor.h"
|
||||
|
||||
class CORSProcessor : public ServerProcessor
|
||||
{
|
||||
private:
|
||||
std::set<std::string> ParseHeaderList(const std::string& raw_headers);
|
||||
std::set<std::string> ParseMethodList(const std::string& raw_headers);
|
||||
|
||||
public:
|
||||
uns::ResponsePtr Processor(uns::RequestPtr request) override;
|
||||
|
||||
public:
|
||||
static std::string UrlRegex();
|
||||
static std::shared_ptr<CORSProcessor> SharedPtr();
|
||||
};
|
||||
Reference in New Issue
Block a user