Added header to enforce newest compatability for IE browsers. They misbehave on intranet addressess otherwise
This commit is contained in:
parent
cbaf4107f9
commit
b8054a5200
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ int Controller::handleAPIConnection(Socket::Connection & conn){
|
|||
H.SetHeader("X-Info", "To force an API response, request the file /api");
|
||||
H.SetHeader("Server", "MistServer/" PACKAGE_VERSION);
|
||||
H.SetHeader("Content-Length", server_html_len);
|
||||
H.SetHeader("X-UA-Compatible","IE=edge;chrome=1");
|
||||
H.SendResponse("200", "OK", conn);
|
||||
conn.SendNow(server_html, server_html_len);
|
||||
H.Clean();
|
||||
|
|
Loading…
Add table
Reference in a new issue