Answer the question
In order to leave comments, you need to log in
How to get parameters from HTTP request in python?
There is code:
import http.server
class HttpProcessor(http.server.BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.send_header('content-type','text/html')
self.end_headers()
serv = http.server.HTTPServer(("localhost", 9090), HttpProcessor)
serv.serve_forever()
Need to get request parameters correctly and beautifully?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question