Yesterday I came across a weird issue: I have an HTTP server running on the ESP. I store some html files on it, and when the user visits the ESP's IP address, a page is returned to the client. The problem is that this page only renders in Internet Explorer and Edge. on Firefox/Chrome/Safari the page appears as if I opened it in notepad, i.e. I can see the source, but not rendered HTML. I stripped down the code to a bare minimum, but still, the same error remains. Also, when looked at the pages straight from my pc, it renders correctly across all browsers. So clearly, the ESP has something to do with it.
This is the html code for reference:
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>Error</h1>
</div>
<div class="row">
<div class="text-danger">Bad request.</div>
</div>
</div>
</body>
</html>
I wonder if any of you has come across this issue, and if yes, how you fixed it. Any pointers are appreciated!
http://diy.viktak.com