I have this code
httpd = HTTPServer(('127.0.0.1', 8000),SimpleHTTPRequestHandler)
httpd.handle_request()
httpd.handle_request() serves one request and then kills the server like intended. I want to capture this request as a variable so I can parse it later on. Something like
Request_Variable = httpd.handle_request()
*This code above doesn't work. But I'm looking for something similar Thanks