fix windows build (or operator is not supported || is required
This commit is contained in:
parent
bb1be240ec
commit
4872b59fac
@ -164,7 +164,7 @@ namespace ix
|
|||||||
std::string content = res.second;
|
std::string content = res.second;
|
||||||
|
|
||||||
std::string acceptEncoding = request->headers["Accept-encoding"];
|
std::string acceptEncoding = request->headers["Accept-encoding"];
|
||||||
if (acceptEncoding == "gzip" or acceptEncoding == "*")
|
if (acceptEncoding == "gzip" || acceptEncoding == "*")
|
||||||
{
|
{
|
||||||
content = gzipCompress(content);
|
content = gzipCompress(content);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user