code: def do_GET(self):
          
          thread_local.clock_start = get_time()
          thread_local.status_code = 200
          thread_local.message = None
          thread_local.headers = []
          thread_local.end_headers = []
          thread_local.size = -1
          thread_local.method = 'GET'
          try:
              self.cross_origin_headers()
              if self.handle_special(True, 'GET'):
                  return
              SimpleHTTPRequestHandler.do_GET(self)
          except PreventDefaultResponse as pdr:
              if pdr.code:
                  self.send_error(pdr.code, pdr.msg)
          except (KeyboardInterrupt, SystemExit):
              raise
          except Exception:
              self.handle_error()
docs: Handles a GET request.