I am trying to store an incoming url -- including query string -- in a Python 2.7 application as a simple variable, you could call it var. The url is being passed into httpd 2.4.6 and I want the app to capture this url. Can someone suggest a way to do this? Something like "requests" but the app listens always for incoming requests to httpd and captures them in a variable or a list.
The query string would be passed as arguments to another process. That part of the app is done.
The app and the httpd service both run on same server.
This is difficult to search for on google. Was hoping someone could point the way.