new_contents: #!/usr/bin/env python
  
  # https://gist.github.com/ccoenen/8038234
  # https://gist.github.com/dustingetz/5348582
  
  import http.server # python3
  # import SimpleHTTPServer # python2
  
  class MyHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):
      def end_headers(self):
          self.send_my_headers()
          http.server.SimpleHTTPRequestHandler.end_headers(self)
  
      def send_my_headers(self):
          self.send_header("Cache-Control", "no-cache, no-store, must-revalidate")
          self.send_header("Pragma", "no-cache")
          self.send_header("Expires", "0")
  
  
  if __name__ == '__main__':
      http.server.test(HandlerClass=MyHTTPRequestHandler)
  
subject: add dev-http-server.py