title: python and BaseHTTPRequestHandler : add an empty favicon in the header of the generated page
body: <p>On python 3.8, I created a minimalist python server for my students with BaseHTTPRequestHandler and HTTPServer from the module http.server</p>
  <p>When I go to the url on the server, I see in the browser debug tool two http request :</p>
  <ul>
  <li>one for the page</li>
  <li>one for the favicon (the current head html page does not contains a link tag for a favicon, the current head is empty)</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/sVpvL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sVpvL.png" alt="enter image description here" /></a></p>
  <p>I want to prevent the second request (for favicon). My question is : with the classes &quot;BaseHTTPRequestHandler&quot; and &quot;HTTPServer&quot; is it possible to custom the header of the generated page ? I am looking for a way to add an empty favicon like this : <code>&lt;link rel=&quot;icon&quot; href=&quot;data:;base64,=&quot;&gt;</code> (<a href="https://stackoverflow.com/a/13416784/2137454">https://stackoverflow.com/a/13416784/2137454</a>)</p>