title: iOS ignoring NodeMCU http server response and browser shows no connection
body: <p>So I recently got a nodeMCU Lua V1, I  started it up connected to my WiFi, and loaded the default HTTP server from <a href="https://en.wikipedia.org/wiki/NodeMCU#HTTP_server" rel="nofollow">https://en.wikipedia.org/wiki/NodeMCU#HTTP_server</a>. Excitedly I did a port forward on my ADSL router and asked friends to connect to see my hello world response. My friends that has apple devices (iPhone/iPad) where unable to load the website. Where as friends with android devices or computers had no trouble viewing the site. I tried using my iPad that is on the same WiFi network. It also had this behavior. To find out what is going on, I tried different browsers on the iPad. I did a Wireshark trace and saw the NodeMCU sending the response to the iPad. But the iPad kept showing either connection error, or a you are offline message. Thinking it might be html headers that is missing I changed the response the nodeMCU is sending to:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;body&gt;&lt;h1&gt;My First Heading&lt;/h1&gt;&lt;p&gt;My first paragraph.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>Still the iPad showed the same message.</p>
  
  <p>So my question is why is iOS behaving this way, what is blocking it and making the browser think it has no internet connection? Is the browser on iOS behaving this way, or is the OS doing something odd. What would I need to do in order for an iOS device to see the web page?</p>