I have the following code in my wsgi.py file, but I get the following message
undefined name 'self'
query = urlparse(self.path).query
query_components = dict(qc.split("=") for qc in query.split("&"))
subnet = query_components["subnet"]
I'm trying to process http get parameters. How can I do this?