mirror of https://github.com/adamdruppe/arsd.git
ghandle order of stuff
This commit is contained in:
parent
4b91ff49b5
commit
279823ec7a
3
cgi.d
3
cgi.d
|
@ -1708,7 +1708,8 @@ class Cgi {
|
||||||
remoteAddress = value;
|
remoteAddress = value;
|
||||||
}
|
}
|
||||||
else if (name == "x-forwarded-host" || name == "host") {
|
else if (name == "x-forwarded-host" || name == "host") {
|
||||||
host = value;
|
if(name != "host" || host is null)
|
||||||
|
host = value;
|
||||||
}
|
}
|
||||||
else if (name == "accept-encoding") {
|
else if (name == "accept-encoding") {
|
||||||
if(value.indexOf("gzip") != -1)
|
if(value.indexOf("gzip") != -1)
|
||||||
|
|
Loading…
Reference in New Issue