add support for preflight requ (cors)
This commit is contained in:
1 parent
a34db6505d
commit
217f42b7c6
5 files changed
+125
-1
No files matched your search
@@ -1597,6 +1597,19 @@ return false;
|
||||
}
|
||||
|
||||
|
||||
bool Request::AddHeader(const wchar_t * name, long value)
|
||||
{
|
||||
if( !out_headers.has_key(name) )
|
||||
{
|
||||
out_headers.add(name, value);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool Request::AddHeader(const std::wstring & name, const std::wstring & value)
|
||||
{
|
||||
if( !out_headers.has_key(name) )
|
||||
|
||||
Reference in new issue
Block a user