Added generic CORS header adder, now used in controller, HLS output and internal HTTP handler.
This commit is contained in:
parent
2845cbedcb
commit
a3bf393bea
5 changed files with 20 additions and 5 deletions
|
@ -21,6 +21,7 @@ namespace HTTP {
|
|||
std::string getUrl();
|
||||
void SetHeader(std::string i, std::string v);
|
||||
void SetHeader(std::string i, long long v);
|
||||
void setCORSHeaders();
|
||||
void SetVar(std::string i, std::string v);
|
||||
void SetBody(std::string s);
|
||||
void SetBody(char * buffer, int len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue