text: from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
  from SocketServer import ThreadingMixIn
  import threading
  import sys
  
  MOD = 3
  
  class Handler(BaseHTTPRequestHandler):
  
      def do_GET(self):
          self.send_response(200)
          self.end_headers()
          message = 'X'* 10
          self.wfile.write(message)
          return
  
  
  class ThreadedHTTPServer(ThreadingMixIn, HTTPServer):
      """Handle requests in a separate thread."""
  
  if __name__ == '__main__':
      server = ThreadedHTTPServer(('0.0.0.0', 5000), Handler)
      print('Serving on 0.0.0.0:5000')
      server.handle_request()
  