title: why HTML page retured by server is not rendering in the browser
body: <p>I have created a simple HTTP server, (currently it supports only GET ) which returns an HTML page whenever a GET request is made , but the returned HTML page doesnt render in the browser, I verified that my server is indeed working using CURL and CURL is able to fetch the data . The code can be found below </p>
  
  <p><a href="https://github.com/akshayvernekar/simplehttpserver.git" rel="nofollow noreferrer">GITHUB_LINK</a></p>
  
  <p>Below is the output from the curl , you can see that the server is returning the HTML page. </p>
  
  <pre><code>$ curl -G "192.168.1.188:8080" --verbose
  * Rebuilt URL to: 192.168.1.188:8080/
  * Hostname was NOT found in DNS cache
  *   Trying 192.168.1.188...
  * Connected to 192.168.1.188 (192.168.1.188) port 8080 (#0)
  &gt; GET / HTTP/1.1
  &gt; User-Agent: curl/7.35.0
  &gt; Host: 192.168.1.188:8080
  &gt; Accept: */*
  &gt; 
  &lt; HTTP/1.1 200 OK
  &lt;  Content-type: text/html
  &lt;  
  &lt; &lt;!DOCTYPE html&gt; 
  &lt;  &lt;html&gt;
  &lt;  &lt;head&gt; 
  &lt;  &lt;title&gt;simple server&lt;/title&gt; 
  &lt;  &lt;/head&gt; 
  &lt;   &lt;body&gt;
  &lt;   &lt;h1&gt;Welcome&lt;/h1&gt;
  &lt;  &lt;p&gt;Welcome to the server .&lt;/p&gt;
  &lt;   &lt;/body&gt;
  &lt;  &lt;/html&gt;
  * Connection #0 to host 192.168.1.188 left intact
  </code></pre>