parameters: (s)
docstring: Handle a GET request.
  
      Parses the query parameters and prints a message
      if the flow has completed. Note that we can't detect
      if an error occurred.
docstring_summary: Handle a GET request.
docstring_tokens: Handle a GET request .
function: def do_GET(s):
      """Handle a GET request.
  
      Parses the query parameters and prints a message
      if the flow has completed. Note that we can't detect
      if an error occurred.
      """
      s.send_response(200)
      s.send_header("Content-type", "text/html")
      s.end_headers()
      query = s.path.split('?', 1)[-1]
      query = dict(parse_qsl(query))
      s.server.query_params = query
      s.wfile.write("<html><head><title>Authentication Status</title></head>")
      s.wfile.write("<body><p>The authentication flow has completed.</p>")
      s.wfile.write("</body></html>")
function_tokens: def do_GET ( s ) : s . send_response ( 200 ) s . send_header ( "Content-type" , "text/html" ) s . end_headers ( ) query = s . path . split ( '?' , 1 ) [ - 1 ] query = dict ( parse_qsl ( query ) ) s . server . query_params = query s . wfile . write ( "<html><head><title>Authentication Status</title></head>" ) s . wfile . write ( "<body><p>The authentication flow has completed.</p>" ) s . wfile . write ( "</body></html>" )